]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
they're uint64 and uint32, not int and int
authorRoger Dingledine <arma@torproject.org>
Fri, 6 Aug 2004 08:40:55 +0000 (08:40 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 6 Aug 2004 08:40:55 +0000 (08:40 +0000)
svn:r2152

src/or/main.c

index 573b20fc925d3f1c273d31cc952c44c6b50cc38d..d4e6c6a47e5b0e3c7b416ac82c70debe5b7ca8b0 100644 (file)
@@ -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));