-LRN: fix fprintfs
authorChristian Grothoff <christian@grothoff.org>
Sat, 21 Apr 2012 15:31:00 +0000 (15:31 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 21 Apr 2012 15:31:00 +0000 (15:31 +0000)
src/dht/gnunet-dht-monitor.c

index 0df87fefaa22acc5235e0921439603cb2700bfd1..fc110a8d8c990240f2afd6824c78590481fe2ccf 100644 (file)
@@ -202,7 +202,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   {
     timeout = GNUNET_TIME_UNIT_FOREVER_REL;
     if (verbose)
-      FPRINTF (stderr, "Monitoring indefinitely (close with Ctrl+C)\n");
+      FPRINTF (stderr, "%s", "Monitoring indefinitely (close with Ctrl+C)\n");
   }
 
   GNUNET_SCHEDULER_add_delayed (timeout, &cleanup_task, NULL);
@@ -211,7 +211,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   monitor_handle = GNUNET_DHT_monitor_start (dht_handle, block_type, key,
                                              &monitor_callback, NULL);
   if (verbose)
-    FPRINTF (stderr, "MONITOR started!\n");
+    FPRINTF (stderr, "%s", "MONITOR started!\n");
   GNUNET_free_non_null (key);
 
 }