about summary refs log tree commit diff
path: root/stdlib
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 /stdlib
parent3efdff78b3ca58748dc709d3c6f6d32f7c6f0f05 (diff)
downloadglibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.gz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.xz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.zip
Fix format strings.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-bsearch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/tst-bsearch.c b/stdlib/tst-bsearch.c
index 04ec02a411..ad80776785 100644
--- a/stdlib/tst-bsearch.c
+++ b/stdlib/tst-bsearch.c
@@ -67,7 +67,7 @@ main (void)
       res = (struct entry *) bsearch (&key, arr, narr, sizeof (arr[0]), comp);
       if (res == NULL)
 	{
-	  printf ("entry %d not found\n", cnt);
+	  printf ("entry %zd not found\n", cnt);
 	  result = 1;
 	}
       else if (res != &arr[cnt])
@@ -112,7 +112,7 @@ main (void)
 	{
 	  if (res == NULL)
 	    {
-	      printf ("entry %d not found\n", cnt);
+	      printf ("entry %zd not found\n", cnt);
 	      result = 1;
 	    }
 	  else if (res != &arr[cnt])