diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-29 17:44:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-29 17:44:38 +0000 |
commit | 91d4e478b4753b6dc9c3eb9d9eee3df22b120f69 (patch) | |
tree | dd8a54a1166302eacc56dafd048676007cbc6277 /src/fs | |
parent | 2a313fb65fe21e5ac6a1ef268fdf43c2ba46a330 (diff) | |
download | gnunet-91d4e478b4753b6dc9c3eb9d9eee3df22b120f69.tar.gz gnunet-91d4e478b4753b6dc9c3eb9d9eee3df22b120f69.zip |
-fix format string
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/perf_gnunet_service_fs_p2p.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/fs/perf_gnunet_service_fs_p2p.c index 5211beef8..316fdbd8a 100644 --- a/src/fs/perf_gnunet_service_fs_p2p.c +++ b/src/fs/perf_gnunet_service_fs_p2p.c | |||
@@ -267,10 +267,12 @@ do_report (void *cls) | |||
267 | fancy = | 267 | fancy = |
268 | GNUNET_STRINGS_byte_size_fancy (((unsigned long long) FILESIZE) * | 268 | GNUNET_STRINGS_byte_size_fancy (((unsigned long long) FILESIZE) * |
269 | 1000000LL / del.rel_value_us); | 269 | 1000000LL / del.rel_value_us); |
270 | FPRINTF (stdout, "Download speed was %s/s\n", fancy); | 270 | FPRINTF (stdout, |
271 | "Download speed was %s/s\n", | ||
272 | fancy); | ||
271 | GNUNET_free (fancy); | 273 | GNUNET_free (fancy); |
272 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Finished download, shutting down\n", | 274 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
273 | (unsigned long long) FILESIZE); | 275 | "Finished download, shutting down\n"); |
274 | sm = GNUNET_new (struct StatMaster); | 276 | sm = GNUNET_new (struct StatMaster); |
275 | sm->op = | 277 | sm->op = |
276 | GNUNET_TESTBED_service_connect (NULL, | 278 | GNUNET_TESTBED_service_connect (NULL, |
@@ -291,7 +293,7 @@ do_download (void *cls, | |||
291 | int anonymity; | 293 | int anonymity; |
292 | 294 | ||
293 | if (NULL == uri) | 295 | if (NULL == uri) |
294 | { | 296 | { |
295 | GNUNET_SCHEDULER_shutdown (); | 297 | GNUNET_SCHEDULER_shutdown (); |
296 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 298 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
297 | "Timeout during upload attempt, shutting down with error\n"); | 299 | "Timeout during upload attempt, shutting down with error\n"); |