aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2007-05-17 05:05:12 +0000
committerWarner Losh <imp@FreeBSD.org>2007-05-17 05:05:12 +0000
commit3627f73782454ffc431494f639518c0d02be62c0 (patch)
tree18ff1d33f9f4b77fa7c6aa7c9c4ac44192e19e77 /sys/kern/kern_mib.c
parentca2cb5bd5b4503bba3dd0d36f4b6bd1827fb15e7 (diff)
downloadsrc-3627f73782454ffc431494f639518c0d02be62c0.tar.gz
src-3627f73782454ffc431494f639518c0d02be62c0.zip
Notes
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r--sys/kern/kern_mib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index c10e5f23e2fe..97acaae8bde2 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -300,9 +300,6 @@ SYSCTL_PROC(_kern, KERN_SECURELVL, securelevel,
#ifdef INCLUDE_CONFIG_FILE
/* Actual kernel configuration options. */
extern char kernconfstring[];
-#else
-char kernconfstring[] = "\0";
-#endif
static int
sysctl_kern_config(SYSCTL_HANDLER_ARGS)
@@ -332,6 +329,7 @@ sysctl_kern_config(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_kern, OID_AUTO, conftxt, CTLTYPE_STRING|CTLFLAG_RW,
0, 0, sysctl_kern_config, "", "Kernel configuration file");
+#endif
char domainname[MAXHOSTNAMELEN];
SYSCTL_STRING(_kern, KERN_NISDOMAINNAME, domainname, CTLFLAG_RW,