[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:
s/exit_failure/exit_status/.
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,
else
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. */
--
1.5.4.35.g3cfc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] xstrtol_error: Fix typo.,
Jim Meyering <=