Fix sys_sunos compilation
This commit is contained in:
parent
395c33208c
commit
4599e2b508
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ setup_kernel(unsigned long on_off)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (kvm_write(kt, nl[2].n_value,
|
if (kvm_write(kt, nl[2].n_value,
|
||||||
(char *)(&(on_off ? default_tickadj : our_tickadj)),
|
(char *)(on_off ? &default_tickadj : &our_tickadj),
|
||||||
sizeof(unsigned long)) < 0) {
|
sizeof(unsigned long)) < 0) {
|
||||||
LOG(LOGS_ERR, LOGF_SysSunOS, "Cannot write to _tickadj");
|
LOG(LOGS_ERR, LOGF_SysSunOS, "Cannot write to _tickadj");
|
||||||
kvm_close(kt);
|
kvm_close(kt);
|
||||||
|
|
Loading…
Reference in a new issue