From: teor (Tim Wilson-Brown) Date: Thu, 1 Oct 2015 07:58:15 +0000 (+0200) Subject: fixup #17188: Add most likely reasons for clock going backwards X-Git-Tag: tor-0.2.8.1-alpha~340^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=763cb393d3ae6dee8f25afca011e5ec1796ed970;p=thirdparty%2Ftor.git fixup #17188: Add most likely reasons for clock going backwards Add "You might have an empty clock battery or bad NTP server." --- 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 {