diff options
Diffstat (limited to 'src/fs/perf_gnunet_service_fs_p2p.c')
-rw-r--r-- | src/fs/perf_gnunet_service_fs_p2p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/fs/perf_gnunet_service_fs_p2p.c index bb8c8d8c2..6b9b1abd5 100644 --- a/src/fs/perf_gnunet_service_fs_p2p.c +++ b/src/fs/perf_gnunet_service_fs_p2p.c | |||
@@ -120,7 +120,7 @@ print_stat (void *cls, const char *subsystem, const char *name, uint64_t value, | |||
120 | { | 120 | { |
121 | struct StatMaster *sm = cls; | 121 | struct StatMaster *sm = cls; |
122 | 122 | ||
123 | fprintf (stderr, "Peer %2u: %12s/%50s = %12llu\n", sm->daemon, subsystem, | 123 | FPRINTF (stderr, "Peer %2u: %12s/%50s = %12llu\n", sm->daemon, subsystem, |
124 | name, (unsigned long long) value); | 124 | name, (unsigned long long) value); |
125 | return GNUNET_OK; | 125 | return GNUNET_OK; |
126 | } | 126 | } |
@@ -199,7 +199,7 @@ do_report (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
199 | fancy = | 199 | fancy = |
200 | GNUNET_STRINGS_byte_size_fancy (((unsigned long long) FILESIZE) * | 200 | GNUNET_STRINGS_byte_size_fancy (((unsigned long long) FILESIZE) * |
201 | 1000LL / del.rel_value); | 201 | 1000LL / del.rel_value); |
202 | fprintf (stdout, "Download speed was %s/s\n", fancy); | 202 | FPRINTF (stdout, "Download speed was %s/s\n", fancy); |
203 | GNUNET_free (fancy); | 203 | GNUNET_free (fancy); |
204 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Finished download, shutting down\n", | 204 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Finished download, shutting down\n", |
205 | (unsigned long long) FILESIZE); | 205 | (unsigned long long) FILESIZE); |