don't write through *oldlenp if oldp is NULL. (see sethostname())
authorRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Mon, 22 Feb 1993 05:52:11 +0000 (21:52 -0800)
committerRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Mon, 22 Feb 1993 05:52:11 +0000 (21:52 -0800)
commit924ae1bdb41450972cc05d356596b8fae1e537d5
treeec03792822c7ebe33955ead2b42c2462f9bb2df7
parentc7ab97341ca0bfc0f8e2b3ed8a8a49bef249ed37
don't write through *oldlenp if oldp is NULL. (see sethostname())

SCCS-vsn: sys/kern/kern_sysctl.c 7.28
usr/src/sys/kern/kern_sysctl.c