diff options
author | wollman <wollman@FreeBSD.org> | 1996-07-25 18:02:40 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-07-25 18:02:40 +0000 |
commit | 8f0bdc1b4428bb5253095027d9459607d82d8b5c (patch) | |
tree | b89e36ec1018156ba1e7dbfcd7a8a944a6da4017 /sys/kern/kern_mib.c | |
parent | 542e9e66d0b36aa7e425d9e08c84bd66313a973a (diff) | |
download | FreeBSD-src-8f0bdc1b4428bb5253095027d9459607d82d8b5c.zip FreeBSD-src-8f0bdc1b4428bb5253095027d9459607d82d8b5c.tar.gz |
Rename KERN_DOMAINNAME to KERN_NISDOMAINNAME so that it can't be confused
with a real Domain Name.
Suggested by: Keith Bostic
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r-- | sys/kern/kern_mib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 4482d7b..81d8129 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94 - * $Id: kern_sysctl.c,v 1.60 1996/03/11 02:18:22 hsu Exp $ + * $Id: kern_mib.c,v 1.1 1996/04/07 13:03:05 phk Exp $ */ #include <sys/param.h> @@ -134,7 +134,7 @@ SYSCTL_PROC(_kern, KERN_SECURELVL, securelevel, CTLTYPE_INT|CTLFLAG_RW, 0, 0, sysctl_kern_securelvl, "I", ""); char domainname[MAXHOSTNAMELEN]; -SYSCTL_STRING(_kern, KERN_DOMAINNAME, domainname, CTLFLAG_RW, +SYSCTL_STRING(_kern, KERN_NISDOMAINNAME, domainname, CTLFLAG_RW, &domainname, sizeof(domainname), ""); long hostid; |