X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-xstrtol.c;h=934689224f6e65e19ce29e39dfa5b196cf471a53;hb=4af5eabfc04010c39947d3ae9763ae931d63c191;hp=6aa5e895ccd5fe1fffc3eb85562337162927df87;hpb=97c5de22902af85f150ed825b8ce5df94197e9bc;p=pspp diff --git a/tests/test-xstrtol.c b/tests/test-xstrtol.c index 6aa5e895cc..934689224f 100644 --- a/tests/test-xstrtol.c +++ b/tests/test-xstrtol.c @@ -1,6 +1,5 @@ /* Test of xstrtol module. - Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 1995-1996, 1998-2001, 2003-2011 Free Software Foundation, Inc. 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 @@ -54,13 +53,13 @@ main (int argc, char **argv) s_err = __xstrtol (argv[i], &p, 0, &val, "bckMw0"); if (s_err == LONGINT_OK) - { - printf ("%s->%" __spec " (%s)\n", argv[i], val, p); - } + { + printf ("%s->%" __spec " (%s)\n", argv[i], val, p); + } else - { - xstrtol_fatal (s_err, -2, 'X', NULL, argv[i]); - } + { + xstrtol_fatal (s_err, -2, 'X', NULL, argv[i]); + } } exit (0); }