diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:47:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:47:14 +0000 |
commit | dc20c525694ee21014e88abd2fa51cf78d6c22f9 (patch) | |
tree | c88b8b92a324c0020eedc8349b24265c70c0e548 /src | |
parent | 6c441b572970610b45f0c057cab5f7001550ea6d (diff) | |
download | gnunet-dc20c525694ee21014e88abd2fa51cf78d6c22f9.tar.gz gnunet-dc20c525694ee21014e88abd2fa51cf78d6c22f9.zip |
-fixing format strings
Diffstat (limited to 'src')
-rw-r--r-- | src/statistics/gnunet-statistics.c | 2 | ||||
-rw-r--r-- | 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) | |||
95 | 95 | ||
96 | if (success != GNUNET_OK) | 96 | if (success != GNUNET_OK) |
97 | { | 97 | { |
98 | FPRINTF (stderr, _("Failed to obtain statistics.\n"),NULL); | 98 | FPRINTF (stderr, "%s", _("Failed to obtain statistics.\n")); |
99 | ret = 1; | 99 | ret = 1; |
100 | } | 100 | } |
101 | if (h != NULL) | 101 | 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) | |||
246 | &plugins)) | 246 | &plugins)) |
247 | { | 247 | { |
248 | FPRINTF (stderr, | 248 | FPRINTF (stderr, |
249 | _ | 249 | "%s", |
250 | ("No transport plugins configured, peer will never communicate\n"), NULL); | 250 | _ |
251 | ("No transport plugins configured, peer will never communicate\n")); | ||
251 | ret = 4; | 252 | ret = 4; |
252 | return; | 253 | return; |
253 | } | 254 | } |