about summary refs log tree commit diff
path: root/iconv/tst-iconv4.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-11-21 04:41:14 +0000
committerUlrich Drepper <drepper@redhat.com>2002-11-21 04:41:14 +0000
commitbdf382bba248c88afa3509031a94a30a7b08981b (patch)
tree2dd32b059c7f346ef33b51d919d5c05758412d93 /iconv/tst-iconv4.c
parentab9ba655e1b0ee621baddd45e7421762e4f2ba70 (diff)
downloadglibc-bdf382bba248c88afa3509031a94a30a7b08981b.tar.gz
glibc-bdf382bba248c88afa3509031a94a30a7b08981b.tar.xz
glibc-bdf382bba248c88afa3509031a94a30a7b08981b.zip
Improve error message.
Diffstat (limited to 'iconv/tst-iconv4.c')
-rw-r--r--iconv/tst-iconv4.c2
1 files changed, 1 insertions, 1 deletions
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)