diff options
| author | Wojciech A. Koszek <wkoszek@FreeBSD.org> | 2007-05-16 16:08:04 +0000 |
|---|---|---|
| committer | Wojciech A. Koszek <wkoszek@FreeBSD.org> | 2007-05-16 16:08:04 +0000 |
| commit | 5f9974ae574fbddb768211744da378da5dbb2831 (patch) | |
| tree | 03ff842bb083cfa0e60ff73df52ccd060a23abba /sys | |
| parent | e829ed67a2b9386ad61d3b1bbbb833fe90185d49 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/kern_mib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 2ccb207c5933..c10e5f23e2fe 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include "opt_posix.h" +#include "opt_config.h" #include <sys/param.h> #include <sys/kernel.h> @@ -296,8 +297,12 @@ SYSCTL_PROC(_kern, KERN_SECURELVL, securelevel, CTLTYPE_INT|CTLFLAG_RW|CTLFLAG_PRISON, 0, 0, sysctl_kern_securelvl, "I", "Current secure level"); +#ifdef INCLUDE_CONFIG_FILE /* Actual kernel configuration options. */ extern char kernconfstring[]; +#else +char kernconfstring[] = "\0"; +#endif static int sysctl_kern_config(SYSCTL_HANDLER_ARGS) |
