diff options
author | Andreas Jaeger <aj@suse.de> | 2002-09-30 07:47:16 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-09-30 07:47:16 +0000 |
commit | 9a2d7205aa046af3f4caf1b35388e9100e2a25db (patch) | |
tree | b03b171dac305af547caacbab7e81c209b60a480 /libio/tst_swprintf.c | |
parent | 3efdff78b3ca58748dc709d3c6f6d32f7c6f0f05 (diff) | |
download | glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.gz |
Fix format strings.
Diffstat (limited to 'libio/tst_swprintf.c')
-rw-r--r-- | libio/tst_swprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/tst_swprintf.c b/libio/tst_swprintf.c index 4dadd58741..e4bd7f022a 100644 --- a/libio/tst_swprintf.c +++ b/libio/tst_swprintf.c @@ -28,7 +28,7 @@ main (int argc, char *argv[]) n = swprintf (buf, nbuf, L"Hello %s", "world"); if (n != 11) { - printf ("incorrect return value: %d instead of 11\n", n); + printf ("incorrect return value: %zd instead of 11\n", n); result = 1; } else if (wcscmp (buf, L"Hello world") != 0) @@ -41,7 +41,7 @@ main (int argc, char *argv[]) n = swprintf (buf, nbuf, L"Is this >%g< 3.1?", 3.1); if (n != 18) { - printf ("incorrect return value: %d instead of 18\n", n); + printf ("incorrect return value: %zd instead of 18\n", n); result = 1; } else if (wcscmp (buf, L"Is this >3.1< 3.1?") != 0) |