aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-06 08:40:55 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-06 08:40:55 +0000
commit967a762fe14033298bb4e1f0310090e370930f3a (patch)
tree50474db69b939cf6e49d136ee87a784610536cde /src
parentf32e34044fa5cbee5164fe6de8474bc38ad66098 (diff)
downloadtor-967a762fe14033298bb4e1f0310090e370930f3a.tar
tor-967a762fe14033298bb4e1f0310090e370930f3a.tar.gz
they're uint64 and uint32, not int and int
svn:r2152
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 573b20fc9..d4e6c6a47 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -963,7 +963,7 @@ static void dumpstats(int severity) {
(stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) );
if (stats_n_seconds_uptime)
- log(severity,"Average bandwidth used: %d/%d = %d bytes/sec",
+ log(severity,"Average bandwidth used: %llu/%ld = %d bytes/sec",
stats_n_bytes_read, stats_n_seconds_uptime,
(int) (stats_n_bytes_read/stats_n_seconds_uptime));