aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/tty_snoop.c
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-03 04:58:51 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-03 04:58:51 +0000
commitb8edb44cc349331b8ac053aea7b35a5822294e5f (patch)
tree9429df3f78529e26d1db6fbfb701f2b4005f86af /sys/kern/tty_snoop.c
parent69f5c95465d443b06ca5edab5dc0f139a2080c60 (diff)
downloadsrc-b8edb44cc349331b8ac053aea7b35a5822294e5f.tar.gz
src-b8edb44cc349331b8ac053aea7b35a5822294e5f.zip
When tring to find out if this is a request for a write in
kernel_sysctl and userland_sysctl, check for whether new is NULL, not whether newlen is 0. This allows one to set a string sysctl to "".
Notes
Notes: svn path=/head/; revision=77646
Diffstat (limited to 'sys/kern/tty_snoop.c')
0 files changed, 0 insertions, 0 deletions