KERN_ADJKERNTZ added in preparation of resettodr() implementation

This commit is contained in:
ache 1994-09-14 23:21:00 +00:00
parent d872167657
commit 7c99dec97a

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
* $Id: kern_sysctl.c,v 1.8 1994/08/18 22:35:04 wollman Exp $
* $Id: kern_sysctl.c,v 1.9 1994/09/09 23:12:47 wollman Exp $
*/
/*
@ -183,6 +183,7 @@ int securelevel = -1;
extern int vfs_update_wakeup;
extern int vfs_update_interval;
extern int osreldate;
extern int adjkerntz;
/*
* kernel related system variables.
@ -289,6 +290,8 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
#else
return (sysctl_rdint(oldp, oldlenp, newp, 0));
#endif
case KERN_ADJKERNTZ:
return (sysctl_int(oldp, oldlenp, newp, newlen, &adjkerntz));
default:
return (EOPNOTSUPP);
}