From dc20c525694ee21014e88abd2fa51cf78d6c22f9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Dec 2011 22:47:14 +0000 Subject: [PATCH] -fixing format strings --- src/statistics/gnunet-statistics.c | 2 +- src/transport/gnunet-transport.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.25.1