mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Fix resetting adjkerntz to 0 (pointed by Bruce),
forget to initialize mib variable.
This commit is contained in:
parent
408399029a
commit
882588f86c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5078
@ -254,6 +254,8 @@ int main(argc, argv)
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user