diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-07 21:31:00 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-07 21:31:00 +0000 |
commit | be2b81b9d8787d66960c0458337ed577764633b4 (patch) | |
tree | ae5bee225dd348c816e53ab2de61203cd821fa13 /sys/kern/kern_sysctl.c | |
parent | c0c29b7796b53657559c366a2a3296e64497871d (diff) |
no kern_watchdog for SMALL_KERNEL; ok deraadt@
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 85cba92358e..e39f26dbe67 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.96 2004/01/07 19:34:03 millert Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.97 2004/01/07 21:30:59 markus Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -487,9 +487,11 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) #endif case KERN_INTRCNT: return (sysctl_intrcnt(name + 1, namelen - 1, oldp, oldlenp)); +#ifndef SMALL_KERNEL case KERN_WATCHDOG: return (sysctl_wdog(name + 1, namelen - 1, oldp, oldlenp, newp, newlen)); +#endif case KERN_EMUL: return (sysctl_emul(name + 1, namelen - 1, oldp, oldlenp, newp, newlen)); |