mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 07:35:07 -05:00
Fix sys_sunos compilation
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user