Improve error message.
authorUlrich Drepper <drepper@redhat.com>
Thu, 21 Nov 2002 04:41:14 +0000 (04:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 21 Nov 2002 04:41:14 +0000 (04:41 +0000)
iconv/tst-iconv4.c

index bd687f9..e099ca8 100644 (file)
@@ -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)