X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtol-error.c;h=67b5bf065bf49d9826fa453d7cb994af11aa6bf4;hb=6d03958a046c6783210c538dd9f656553434a804;hp=1d3d856404c7a3f281c7be521d378592a9daf51e;hpb=e9c57721db5e7cf2a19d93761d8c13e0c9701953;p=gnulib.git
diff --git a/lib/xstrtol-error.c b/lib/xstrtol-error.c
index 1d3d85640..67b5bf065 100644
--- a/lib/xstrtol-error.c
+++ b/lib/xstrtol-error.c
@@ -1,12 +1,12 @@
/* 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
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,8 +14,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program. If not, see . */
#include
#include "xstrtol.h"
@@ -84,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. */