summaryrefslogtreecommitdiff
path: root/src/lib/wallclock/tm_cvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/wallclock/tm_cvt.c')
-rw-r--r--src/lib/wallclock/tm_cvt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/wallclock/tm_cvt.c b/src/lib/wallclock/tm_cvt.c
index 987b0ffebf..0a1a1cd438 100644
--- a/src/lib/wallclock/tm_cvt.c
+++ b/src/lib/wallclock/tm_cvt.c
@@ -100,9 +100,9 @@ correct_tm(int islocal, const time_t *timep, struct tm *resultbuf,
/* LCOV_EXCL_STOP */
done:
if (err_out) {
- tor_asprintf(err_out, "%s("I64_FORMAT") failed with error %s: %s",
+ tor_asprintf(err_out, "%s(%"PRId64") failed with error %s: %s",
islocal?"localtime":"gmtime",
- timep?I64_PRINTF_ARG(*timep):0,
+ timep?(*timep):0,
strerror(errno),
outcome);
}