From: Jim Meyering Date: Sun, 10 Feb 2008 08:49:40 +0000 (+0100) Subject: xstrtol_error: Fix typo. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6878fc73b76cc7a83665fd9c43a5db996614375d;p=pspp 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 index a60da367f0..c53a8a2d58 100644 --- 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 index 8d5718d8d8..67b5bf065b 100644 --- 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 @@ 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. */