summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-09 12:54:27 -0400
committerNick Mathewson <nickm@torproject.org>2011-09-09 12:54:27 -0400
commitb0695c11ebfff4ca4dc6570e49e27c03ca65e8ab (patch)
tree357aeae2792ebebbe8045c2045b65e7f3384a427 /src/or/rephist.c
parent4467799f45346a59c37de9337b24ace361cb8b6a (diff)
parent45ca0d2bfacc2ab54a5eb580ba8993a6919906a3 (diff)
downloadtor-b0695c11ebfff4ca4dc6570e49e27c03ca65e8ab.tar.gz
tor-b0695c11ebfff4ca4dc6570e49e27c03ca65e8ab.zip
Merge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 24447004ef..1dd3d94fd0 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -445,7 +445,7 @@ rep_hist_downrate_old_runs(time_t now)
alpha *= STABILITY_ALPHA;
}
- log_info(LD_HIST, "Discounting all old stability info by a factor of %lf",
+ log_info(LD_HIST, "Discounting all old stability info by a factor of %f",
alpha);
/* Multiply every w_r_l, t_r_w pair by alpha. */
@@ -893,7 +893,7 @@ rep_hist_format_router_status(or_history_t *hist, time_t now)
" weighted-uptime %lu\n"
"mtbf %0.1lf\n"
" weighted-run-length %lu\n"
- " total-run-weights %lf\n",
+ " total-run-weights %f\n",
up?"uptime-started ":"", up?sor_buf:"", up?" UTC\n":"",
down?"downtime-started ":"", down?sod_buf:"", down?" UTC\n":"",
wfu,