mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 14:15:07 -05:00
sys: fix TMX_ResetOffset() to set status back correctly
This commit is contained in:
@@ -71,7 +71,7 @@ TMX_ResetOffset(void)
|
||||
|
||||
/* Set status back */
|
||||
txc.modes = ADJ_STATUS;
|
||||
txc.modes = status;
|
||||
txc.status = status;
|
||||
if (adjtimex(&txc) < 0)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user