aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-07-16 22:29:55 +0200
committerNick Mathewson <nickm@torproject.org>2009-07-18 10:35:20 -0400
commitb71bbdc69a56b4f1cd88816fa08c4ef8c6445a1b (patch)
treef37f5c86d63289bc8f0254795a8dc45ac8337bbb
parentc0a2d7dc7346384c41435beaa505e3323b2fb9a9 (diff)
downloadtor-b71bbdc69a56b4f1cd88816fa08c4ef8c6445a1b.tar.gz
tor-b71bbdc69a56b4f1cd88816fa08c4ef8c6445a1b.zip
Make exit stats compile on 64-bit machines, too.
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 6a716d376b..c0b9ae14a4 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1418,7 +1418,7 @@ write_exit_stats(time_t when)
EXIT_STATS_ROUND_UP_BYTES);
other_bytes /= 1024;
if (fprintf(out, "%sother="U64_FORMAT"\n",
- comma ? "," : "", other_bytes)<0)
+ comma ? "," : "", U64_PRINTF_ARG(other_bytes))<0)
goto done;
}
/* streams-opened port=num,.. */