aboutsummaryrefslogtreecommitdiff
path: root/src/util/getopt_helpers.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-01-11 09:54:51 +0000
committerChristian Grothoff <christian@grothoff.org>2011-01-11 09:54:51 +0000
commitbeb8d75e46567f06b36c0e9cd7b459526ca73571 (patch)
treea313365e400d1af85966af3d9de27209be0bb885 /src/util/getopt_helpers.c
parent8dc3809c70936d53c0768d9b19b22e3da1f3923c (diff)
downloadgnunet-beb8d75e46567f06b36c0e9cd7b459526ca73571.tar.gz
gnunet-beb8d75e46567f06b36c0e9cd7b459526ca73571.zip
fixing error message -- 1635
Diffstat (limited to 'src/util/getopt_helpers.c')
-rw-r--r--src/util/getopt_helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c
index 746dc5267..5c4486b41 100644
--- a/src/util/getopt_helpers.c
+++ b/src/util/getopt_helpers.c
@@ -176,7 +176,7 @@ GNUNET_GETOPT_set_ulong (struct GNUNET_GETOPT_CommandLineProcessorContext
176 if (1 != SSCANF (value, "%llu", val)) 176 if (1 != SSCANF (value, "%llu", val))
177 { 177 {
178 fprintf (stderr, 178 fprintf (stderr,
179 _("You must pass a number to the `%s' option.\n"), "-X"); 179 _("You must pass a number to the `%s' option.\n"), option);
180 return GNUNET_SYSERR; 180 return GNUNET_SYSERR;
181 } 181 }
182 return GNUNET_OK; 182 return GNUNET_OK;
@@ -192,7 +192,7 @@ GNUNET_GETOPT_set_uint (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx,
192 if (1 != SSCANF (value, "%u", val)) 192 if (1 != SSCANF (value, "%u", val))
193 { 193 {
194 fprintf (stderr, 194 fprintf (stderr,
195 _("You must pass a number to the `%s' option.\n"), "-X"); 195 _("You must pass a number to the `%s' option.\n"), option);
196 return GNUNET_SYSERR; 196 return GNUNET_SYSERR;
197 } 197 }
198 return GNUNET_OK; 198 return GNUNET_OK;