mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 23:35:07 -05:00
sys: add new log message for kernel status reset after leap second
When a leap second is applied by the kernel, it doesn't actually clear the STA_INS|STA_DEL bits from the status word, but the state returned by ntp_adjtime()/adjtimex() is TIME_WAIT until the application clears the bits. Add "System clock status reset after leap second" log message for this case.
This commit is contained in:
@@ -31,7 +31,7 @@ int TMX_ResetOffset(void);
|
||||
int TMX_SetFrequency(double *freq, long tick);
|
||||
int TMX_GetFrequency(double *freq, long *tick);
|
||||
int TMX_SetLeap(int leap);
|
||||
int TMX_GetLeap(int *leap);
|
||||
int TMX_GetLeap(int *leap, int *applied);
|
||||
int TMX_SetSync(int sync, double est_error, double max_error);
|
||||
int TMX_TestStepOffset(void);
|
||||
int TMX_ApplyStepOffset(double offset);
|
||||
|
||||
Reference in New Issue
Block a user