Improve error message.

This commit is contained in:
Ulrich Drepper 2002-11-21 04:41:14 +00:00
parent ab9ba655e1
commit bdf382bba2

View File

@ -26,7 +26,7 @@ do_test (void)
size_t n = iconv (cd, &inptr, &inlen, &outptr, &outlen); size_t n = iconv (cd, &inptr, &inlen, &outptr, &outlen);
if (n != (size_t) -1) if (n != (size_t) -1)
{ {
puts ("n != (size_t) -1"); printf ("n (= %zu) != (size_t) -1\n", n);
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
if (errno != EINVAL) if (errno != EINVAL)