diff options
author | ache <ache@FreeBSD.org> | 1994-12-12 05:48:45 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-12-12 05:48:45 +0000 |
commit | 7e73ded5b53c8b857c96fc07851f8d3156423782 (patch) | |
tree | fc3d96e817f2d0e3714982507f16e9cab14f4d60 /sbin | |
parent | 1ff1e1698ae950e25303566afcea838f8a3178f9 (diff) | |
download | FreeBSD-src-7e73ded5b53c8b857c96fc07851f8d3156423782.zip FreeBSD-src-7e73ded5b53c8b857c96fc07851f8d3156423782.tar.gz |
Fix resetting adjkerntz to 0 (pointed by Bruce),
forget to initialize mib variable.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/adjkerntz/adjkerntz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/adjkerntz/adjkerntz.c b/sbin/adjkerntz/adjkerntz.c index 7716f2a..0a0d4a3 100644 --- a/sbin/adjkerntz/adjkerntz.c +++ b/sbin/adjkerntz/adjkerntz.c @@ -254,6 +254,8 @@ again: if (need_restore) { need_restore = 0; + mib[0] = CTL_MACHDEP; + mib[1] = CPU_DISRTCSET; disrtcset = 0; len = sizeof(disrtcset); if (sysctl(mib, 2, NULL, NULL, &disrtcset, len) == -1) { |