about summary refs log tree commit diff
path: root/posix/tst-mmap.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-09-30 07:47:16 +0000
committerAndreas Jaeger <aj@suse.de>2002-09-30 07:47:16 +0000
commit9a2d7205aa046af3f4caf1b35388e9100e2a25db (patch)
treeb03b171dac305af547caacbab7e81c209b60a480 /posix/tst-mmap.c
parent3efdff78b3ca58748dc709d3c6f6d32f7c6f0f05 (diff)
downloadglibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.gz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.xz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.zip
Fix format strings.
Diffstat (limited to 'posix/tst-mmap.c')
-rw-r--r--posix/tst-mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-mmap.c b/posix/tst-mmap.c
index e4db364301..355a784124 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;
 	  }
     }