summaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-10-01 09:58:15 +0200
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-10-01 09:58:15 +0200
commit763cb393d3ae6dee8f25afca011e5ec1796ed970 (patch)
tree7486f79afe9322b12ad24e1be15e648f232386bd /src/or/statefile.c
parentcd279ca7f59cba46a319854c9e7f65fbb6f0a0af (diff)
downloadtor-763cb393d3ae6dee8f25afca011e5ec1796ed970.tar.gz
tor-763cb393d3ae6dee8f25afca011e5ec1796ed970.zip
fixup #17188: Add most likely reasons for clock going backwards
Add "You might have an empty clock battery or bad NTP server."
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index a904c411f4..7481cd71cb 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -381,7 +381,8 @@ or_state_load(void)
format_iso_time(now_str, time(NULL));
log_warn(LD_GENERAL, "Your system clock has been set back in time. "
"Tor needs an accurate clock to know when the consensus "
- "expires. Clock time is %s, state file time is %s.",
+ "expires. You might have an empty clock battery or bad NTP "
+ "server. Clock time is %s, state file time is %s.",
now_str, last_written_str);
}
} else {