From 9a2d7205aa046af3f4caf1b35388e9100e2a25db Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Sep 2002 07:47:16 +0000 Subject: Fix format strings. --- posix/tst-mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'posix/tst-mmap.c') diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c index e4db364..355a784 100644 --- a/posix/tst-mmap.c +++ b/posix/tst-mmap.c @@ -167,7 +167,7 @@ main (void) for (c = ps; c < ps + 1000; ++c) if (ptr[c - ps] != '0' + (c % 10)) { - printf ("wrong data mapped at offset %d\n", c); + printf ("wrong data mapped at offset %zd\n", c); result = 1; } } @@ -187,7 +187,7 @@ main (void) for (c = ps; c < ps + 1000; ++c) if (ptr[c - ps] != '0' + (c % 10)) { - printf ("wrong data mapped at offset %d\n", c); + printf ("wrong data mapped at offset %zd\n", c); result = 1; } } -- cgit v1.1