aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/tst-fphex.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-06-25 11:14:37 +0000
committerAndreas Jaeger <aj@suse.de>2003-06-25 11:14:37 +0000
commit346f3a9016179e2ee492bb7d58ce790a6ce18c84 (patch)
tree56c8af1c4c3f99633be85a00b90dda9bd8f9df63 /stdio-common/tst-fphex.c
parentfa4a36fdffe7a96c60dd5baf383e6c731a11a8c5 (diff)
downloadglibc-346f3a9016179e2ee492bb7d58ce790a6ce18c84.tar
glibc-346f3a9016179e2ee492bb7d58ce790a6ce18c84.tar.gz
glibc-346f3a9016179e2ee492bb7d58ce790a6ce18c84.tar.bz2
glibc-346f3a9016179e2ee492bb7d58ce790a6ce18c84.zip
* posix/tst-nanosleep.c: Include <time.h> for nanosleep
declaration. * stdio-common/tst-fphex.c: Fix format string. * posix/tst-nanosleep.c: Include <time.h> for nanosleep declaration. * stdio-common/tst-fphex.c: Fix format string.
Diffstat (limited to 'stdio-common/tst-fphex.c')
-rw-r--r--stdio-common/tst-fphex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-fphex.c b/stdio-common/tst-fphex.c
index aca2c0500d..212e4ed9ec 100644
--- a/stdio-common/tst-fphex.c
+++ b/stdio-common/tst-fphex.c
@@ -39,7 +39,7 @@ do_test (int argc, char **argv)
int n = snprintf (buf, sizeof buf, t->fmt, t->value);
if (n != strlen (t->expect) || strcmp (buf, t->expect) != 0)
{
- printf ("%s\tExpected \"%s\" (%u)\n\tGot \"%s\" (%d, %u)\n",
+ printf ("%s\tExpected \"%s\" (%Zu)\n\tGot \"%s\" (%d, %Zu)\n",
t->fmt, t->expect, strlen (t->expect), buf, n, strlen (buf));
result = 1;
}