diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:40:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-03 10:40:59 -0400 |
commit | 9568c0ce3d3885a41ca44ac030b04d089ac56a40 (patch) | |
tree | 1517c61a9f45ded3fc961231d517c02dc94a5860 /src/lib/wallclock | |
parent | 52884f56d43670f1960d9354ccc3ace9a048e283 (diff) | |
download | tor-9568c0ce3d3885a41ca44ac030b04d089ac56a40.tar.gz tor-9568c0ce3d3885a41ca44ac030b04d089ac56a40.zip |
Return U64_PRINTF_ARG and U64_FORMAT
The standard is printf("%"PRIu64, x);
Diffstat (limited to 'src/lib/wallclock')
-rw-r--r-- | src/lib/wallclock/tm_cvt.c | 4 |
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); } |