diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-21 15:31:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-21 15:31:00 +0000 |
commit | 94d2c686f439772c2a294279bb953ddeaf22a4cc (patch) | |
tree | ea69bd52cb9b576425c1702449b929ed18b2693f /src/dht/gnunet-dht-monitor.c | |
parent | a5ca53b73e643a0e62ded4ac9595bff38d08cb0b (diff) | |
download | gnunet-94d2c686f439772c2a294279bb953ddeaf22a4cc.tar.gz gnunet-94d2c686f439772c2a294279bb953ddeaf22a4cc.zip |
-LRN: fix fprintfs
Diffstat (limited to 'src/dht/gnunet-dht-monitor.c')
-rw-r--r-- | src/dht/gnunet-dht-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/gnunet-dht-monitor.c b/src/dht/gnunet-dht-monitor.c index 0df87fefa..fc110a8d8 100644 --- a/src/dht/gnunet-dht-monitor.c +++ b/src/dht/gnunet-dht-monitor.c | |||
@@ -202,7 +202,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
202 | { | 202 | { |
203 | timeout = GNUNET_TIME_UNIT_FOREVER_REL; | 203 | timeout = GNUNET_TIME_UNIT_FOREVER_REL; |
204 | if (verbose) | 204 | if (verbose) |
205 | FPRINTF (stderr, "Monitoring indefinitely (close with Ctrl+C)\n"); | 205 | FPRINTF (stderr, "%s", "Monitoring indefinitely (close with Ctrl+C)\n"); |
206 | } | 206 | } |
207 | 207 | ||
208 | GNUNET_SCHEDULER_add_delayed (timeout, &cleanup_task, NULL); | 208 | GNUNET_SCHEDULER_add_delayed (timeout, &cleanup_task, NULL); |
@@ -211,7 +211,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
211 | monitor_handle = GNUNET_DHT_monitor_start (dht_handle, block_type, key, | 211 | monitor_handle = GNUNET_DHT_monitor_start (dht_handle, block_type, key, |
212 | &monitor_callback, NULL); | 212 | &monitor_callback, NULL); |
213 | if (verbose) | 213 | if (verbose) |
214 | FPRINTF (stderr, "MONITOR started!\n"); | 214 | FPRINTF (stderr, "%s", "MONITOR started!\n"); |
215 | GNUNET_free_non_null (key); | 215 | GNUNET_free_non_null (key); |
216 | 216 | ||
217 | } | 217 | } |