about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-05 04:07:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-05 04:07:18 +0000
commit22b04aad107e68e5d9f6e8005a26a328450afb78 (patch)
tree876a0b37d27f4bb29b243df3fba235f25f1cbd51
parent5a59a3a514de1e5826a6e29081e880354e57565b (diff)
downloadglibc-22b04aad107e68e5d9f6e8005a26a328450afb78.tar.gz
glibc-22b04aad107e68e5d9f6e8005a26a328450afb78.tar.xz
glibc-22b04aad107e68e5d9f6e8005a26a328450afb78.zip
(main): Print the locale name as well in the error message.
-rw-r--r--localedata/tst-fmon.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/localedata/tst-fmon.c b/localedata/tst-fmon.c
index 23f3cc0f19..f9ef24ac6a 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 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jochen Hein <jochen.hein@delphi.central.de>, 1997.
 
@@ -60,8 +60,9 @@ main (int argc, char *argv[])
 
   if (strcmp (s, argv[4]) != 0)
     {
-      printf ("format: \"%s\", expected: \"%s\", got: \"%s\" => %s\n",
-	      argv[2], argv[4], s,
+      printf ("\
+locale: \"%s\", format: \"%s\", expected: \"%s\", got: \"%s\" => %s\n",
+	      argv[1], argv[2], argv[4], s,
 	      strcmp (s, argv[4]) != 0 ? "false" : "correct");
       exit (EXIT_FAILURE);
     }