X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-xstrtol.c;h=fa9cf72a45327872018282e79e49dc8a4475d44a;hb=4cc1c913a03d9f6318453806494ca52ea3884d4a;hp=5f09452a547d44a75867d8c297a069347daf15a7;hpb=c7110f3b833159c91e8cbe6a14349174aeef4ab6;p=gnulib.git diff --git a/tests/test-xstrtol.c b/tests/test-xstrtol.c index 5f09452a5..fa9cf72a4 100644 --- a/tests/test-xstrtol.c +++ b/tests/test-xstrtol.c @@ -2,10 +2,10 @@ Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 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 @@ -13,8 +13,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 @@ -52,7 +51,7 @@ main (int argc, char **argv) } else { - STRTOL_FATAL_ERROR ("arg", argv[i], s_err); + xstrtol_fatal (s_err, -2, 'X', NULL, argv[i]); } } exit (0);