# HG changeset patch # User Jim Meyering # Date 1202633380 -3600 # Node ID e7e16f35a3b7a4a70ada386f0498d29d0f51e8bf # Parent 8df33869766a765b1a519074a9fd16a3b86c18da xstrtol_error: Fix typo. * lib/xstrtol-error.c (xstrtol_error): The parameter was unused: s/exit_failure/exit_status/. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-10 Jim Meyering + + xstrtol_error: Fix typo. + * lib/xstrtol-error.c (xstrtol_error): The parameter was unused: + s/exit_failure/exit_status/. + 2008-02-08 Jim Meyering Avoid two "parameter unused" warnings. diff --git a/lib/xstrtol-error.c b/lib/xstrtol-error.c --- a/lib/xstrtol-error.c +++ b/lib/xstrtol-error.c @@ -1,6 +1,6 @@ /* A more useful interface to strtol. - Copyright (C) 1995, 1996, 1998, 1999, 2001, 2002, 2003, 2004, 2006, 2007 + Copyright (C) 1995, 1996, 1998, 1999, 2001-2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -83,7 +83,7 @@ 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. */