diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
commit | 416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch) | |
tree | 987f51d9edfddc02afe1524df5e1156b920c71d4 /src/util/getopt_helpers.c | |
parent | fceec98e767bce7ad2c24dde73cdcf8837e04013 (diff) | |
download | gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip |
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/util/getopt_helpers.c')
-rw-r--r-- | src/util/getopt_helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c index c74b90877..8fb3673c0 100644 --- a/src/util/getopt_helpers.c +++ b/src/util/getopt_helpers.c | |||
@@ -252,7 +252,7 @@ GNUNET_GETOPT_set_ulong (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | |||
252 | 252 | ||
253 | if (1 != SSCANF (value, "%llu", val)) | 253 | if (1 != SSCANF (value, "%llu", val)) |
254 | { | 254 | { |
255 | fprintf (stderr, _("You must pass a number to the `%s' option.\n"), option); | 255 | FPRINTF (stderr, _("You must pass a number to the `%s' option.\n"), option); |
256 | return GNUNET_SYSERR; | 256 | return GNUNET_SYSERR; |
257 | } | 257 | } |
258 | return GNUNET_OK; | 258 | return GNUNET_OK; |
@@ -280,7 +280,7 @@ GNUNET_GETOPT_set_uint (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | |||
280 | 280 | ||
281 | if (1 != SSCANF (value, "%u", val)) | 281 | if (1 != SSCANF (value, "%u", val)) |
282 | { | 282 | { |
283 | fprintf (stderr, _("You must pass a number to the `%s' option.\n"), option); | 283 | FPRINTF (stderr, _("You must pass a number to the `%s' option.\n"), option); |
284 | return GNUNET_SYSERR; | 284 | return GNUNET_SYSERR; |
285 | } | 285 | } |
286 | return GNUNET_OK; | 286 | return GNUNET_OK; |