mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
* 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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user