From 22b04aad107e68e5d9f6e8005a26a328450afb78 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 May 2000 04:07:18 +0000 Subject: (main): Print the locale name as well in the error message. --- localedata/tst-fmon.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'localedata') 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 , 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); } -- cgit v1.2.1