From: Christian Grothoff Date: Fri, 30 Dec 2011 22:47:14 +0000 (+0000) Subject: -fixing format strings X-Git-Tag: initial-import-from-subversion-38251~15503 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dc20c525694ee21014e88abd2fa51cf78d6c22f9;p=oweals%2Fgnunet.git -fixing format strings --- diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c index 7fe78161c..ce91572df 100644 --- a/src/statistics/gnunet-statistics.c +++ b/src/statistics/gnunet-statistics.c @@ -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) diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index 17a21dd28..d15b952d4 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c @@ -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; }