reference: fix offset sign in log message
In the maxchange check, log the original offset instead of the absolute value.
This commit is contained in:
parent
eedf61b3a2
commit
e555548dda
1 changed files with 1 additions and 2 deletions
|
@ -555,8 +555,7 @@ is_offset_ok(double offset)
|
|||
return 1;
|
||||
}
|
||||
|
||||
offset = fabs(offset);
|
||||
if (offset > max_offset) {
|
||||
if (fabs(offset) > max_offset) {
|
||||
LOG(LOGS_WARN,
|
||||
"Adjustment of %.3f seconds exceeds the allowed maximum of %.3f seconds (%s) ",
|
||||
-offset, max_offset, !max_offset_ignore ? "exiting" : "ignored");
|
||||
|
|
Loading…
Reference in a new issue