[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] xstrtol_error: Fix typo.

From: Jim Meyering
Subject: [PATCH] xstrtol_error: Fix typo.
Date: Sun, 10 Feb 2008 09:51:32 +0100

Unused-parameter warnings can be instructive...

        xstrtol_error: Fix typo.
        * lib/xstrtol-error.c (xstrtol_error): The parameter was unused:

diff --git a/lib/xstrtol-error.c b/lib/xstrtol-error.c
index 8d5718d..67b5bf0 100644
--- a/lib/xstrtol-error.c
+++ b/lib/xstrtol-error.c
@@ -83,7 +83,7 @@ xstrtol_error (enum strtol_error err,
     option = long_options[opt_idx].name;

-  error (exit_failure, 0, gettext (msgid), hyphens, option, arg);
+  error (exit_status, 0, gettext (msgid), hyphens, option, arg);

 /* Like xstrtol_error, except exit with a failure status.  */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]