-fixing format strings
authorChristian Grothoff <christian@grothoff.org>
Fri, 30 Dec 2011 22:47:14 +0000 (22:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 30 Dec 2011 22:47:14 +0000 (22:47 +0000)
src/statistics/gnunet-statistics.c
src/transport/gnunet-transport.c

index 7fe78161c682e5c637fd891db40b930a08b5ca80..ce91572dfa6b6a42f657cb5671b7bc2f38dbcb5e 100644 (file)
@@ -95,7 +95,7 @@ cleanup (void *cls, int success)
 
   if (success != GNUNET_OK)
   {
-    FPRINTF (stderr, _("Failed to obtain statistics.\n"),NULL);
+    FPRINTF (stderr, "%s", _("Failed to obtain statistics.\n"));
     ret = 1;
   }
   if (h != NULL)
index 17a21dd28d2a918d3534cc97c9e1515c97b90805..d15b952d49a207c476c34ccc26d3fdb8bb2bbbe4 100644 (file)
@@ -246,8 +246,9 @@ do_test_configuration (const struct GNUNET_CONFIGURATION_Handle *cfg)
                                              &plugins))
   {
     FPRINTF (stderr,
-             _
-             ("No transport plugins configured, peer will never communicate\n"), NULL);
+             "%s",
+            _
+             ("No transport plugins configured, peer will never communicate\n"));
     ret = 4;
     return;
   }