about summary refs log tree commit diff
path: root/localedata/tst-fmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-fmon.c')
-rw-r--r--localedata/tst-fmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/tst-fmon.c b/localedata/tst-fmon.c
index 4710efbd2b..af87335972 100644
--- a/localedata/tst-fmon.c
+++ b/localedata/tst-fmon.c
@@ -1,5 +1,5 @@
 /* Testing the implementation of strfmon(3).
-   Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2000, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jochen Hein <jochen.hein@delphi.central.de>, 1997.
 
@@ -46,7 +46,7 @@ main (int argc, char *argv[])
 
   if (setlocale (LC_MONETARY, argv[1]) == NULL)
     {
-      perror ("setlocale");
+      fprintf (stderr, "setlocale(LC_MONETARY, \"%s\"): %m\n", argv[1]);
       exit (EXIT_SETLOCALE);
     }
   /* This is locale-dependent! see setlocale(3) for details */