diff lib/xstrtol-error.c @ 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 (2008-02-10)
parents bbbbbf4cd1c5
children e8d2c6fc33ad
line wrap: on
line diff
--- 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.  */