Mercurial > hg > octave-nkf > gnulib-hg
changeset 9681:e7e16f35a3b7
xstrtol_error: Fix typo.
* lib/xstrtol-error.c (xstrtol_error): The parameter was unused:
s/exit_failure/exit_status/.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 10 Feb 2008 09:49:40 +0100 |
parents | 8df33869766a |
children | 0cbca36f2ccd |
files | ChangeLog lib/xstrtol-error.c |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-10 Jim Meyering <meyering@redhat.com> + + xstrtol_error: Fix typo. + * lib/xstrtol-error.c (xstrtol_error): The parameter was unused: + s/exit_failure/exit_status/. + 2008-02-08 Jim Meyering <meyering@redhat.com> Avoid two "parameter unused" warnings.
--- 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. */