aboutsummaryrefslogtreecommitdiff
path: root/posix/bug-regex12.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/bug-regex12.c
parent3efdff78b3ca58748dc709d3c6f6d32f7c6f0f05 (diff)
downloadglibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.zip
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.gz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.bz2
Fix format strings.
Diffstat (limited to 'posix/bug-regex12.c')
-rw-r--r--posix/bug-regex12.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/bug-regex12.c b/posix/bug-regex12.c
index 2464991..d5b5ef1 100644
--- a/posix/bug-regex12.c
+++ b/posix/bug-regex12.c
@@ -52,7 +52,7 @@ main (void)
{
char buf[500];
regerror (n, &re, buf, sizeof (buf));
- printf ("regcomp %d failed: %s\n", i, buf);
+ printf ("regcomp %zd failed: %s\n", i, buf);
ret = 1;
continue;
}
@@ -60,7 +60,7 @@ main (void)
if (! regexec (&re, tests[i].string, tests[i].nmatch,
tests[i].nmatch ? rm : NULL, 0))
{
- printf ("regexec %d incorrectly matched\n", i);
+ printf ("regexec %zd incorrectly matched\n", i);
ret = 1;
}