summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-01-08 22:04:13 +0000
committerChris Wilson <chris+github@qwirx.com>2011-01-08 22:04:13 +0000
commitd2ab76c315dd3569ef69cb604bfb2c424e75cd6d (patch)
treedcdf61cb2ffd659bfba1dff33bfc5b500761f440
parent80e5fd6c0cc2ab9b7b2b008696dec24161645d57 (diff)
Log the adjusted time, not the unadjusted one, as it's the adjusted time
that may cause an error if it's invalid. (merges [2743] from 0.11)
-rw-r--r--lib/win32/emu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/win32/emu.cpp b/lib/win32/emu.cpp
index 7061aa76..537494e8 100644
--- a/lib/win32/emu.cpp
+++ b/lib/win32/emu.cpp
@@ -1814,7 +1814,7 @@ bool ConvertTime_tToFileTime(const time_t from, FILETIME *pTo)
if (time_breakdown == NULL)
{
::syslog(LOG_ERR, "Error: failed to convert time format: "
- "%d is not a valid time\n", from);
+ "%d is not a valid time\n", adjusted);
return false;
}