From bdf382bba248c88afa3509031a94a30a7b08981b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 21 Nov 2002 04:41:14 +0000 Subject: [PATCH] Improve error message. --- iconv/tst-iconv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iconv/tst-iconv4.c b/iconv/tst-iconv4.c index bd687f9315..e099ca8715 100644 --- a/iconv/tst-iconv4.c +++ b/iconv/tst-iconv4.c @@ -26,7 +26,7 @@ do_test (void) size_t n = iconv (cd, &inptr, &inlen, &outptr, &outlen); if (n != (size_t) -1) { - puts ("n != (size_t) -1"); + printf ("n (= %zu) != (size_t) -1\n", n); exit (EXIT_FAILURE); } if (errno != EINVAL) -- 2.43.5