summaryrefslogtreecommitdiff
path: root/tests/libtest/lib557.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib557.c')
-rw-r--r--tests/libtest/lib557.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c
index 22ab9ec2e..e9415c432 100644
--- a/tests/libtest/lib557.c
+++ b/tests/libtest/lib557.c
@@ -1396,7 +1396,7 @@ static int _strlen_check(int linenumber, char *buf, size_t len)
size_t buflen = strlen(buf);
if(len != buflen) {
/* they shouldn't differ */
- printf("sprintf strlen:%d failed:\nwe '%d'\nsystem: '%d'\n",
+ printf("sprintf strlen:%d failed:\nwe '%zu'\nsystem: '%zu'\n",
linenumber, buflen, len);
return 1;
}