diff --git a/freebsd/kern/kern_mib.c b/freebsd/kern/kern_mib.c index fa36a5ba..03d4e9f2 100644 --- a/freebsd/kern/kern_mib.c +++ b/freebsd/kern/kern_mib.c @@ -120,7 +120,7 @@ SYSCTL_STRING(_kern, KERN_VERSION, version, CTLFLAG_RD|CTLFLAG_MPSAFE, SYSCTL_STRING(_kern, KERN_OSTYPE, ostype, CTLFLAG_RD|CTLFLAG_MPSAFE, ostype, 0, "Operating system type"); -#ifndef __rtems__ +#ifndef __rtems__ /* * NOTICE: The *userland* release date is available in * /usr/include/osreldate.h @@ -445,7 +445,9 @@ SYSCTL_PROC(_kern, KERN_HOSTID, hostid, CTLTYPE_ULONG | CTLFLAG_RW | CTLFLAG_PRISON | CTLFLAG_MPSAFE, NULL, 0, sysctl_hostid, "LU", "Host ID"); +#endif SYSCTL_NODE(_kern, OID_AUTO, features, CTLFLAG_RD, 0, "Kernel Features"); +#ifndef __rtems__ #ifdef COMPAT_FREEBSD4 FEATURE(compat_freebsd4, "Compatible with FreeBSD 4");