From f9ee67d9cef83dacac985d0f89e34cc0ac65948b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 19 Nov 2014 12:10:06 +1100 Subject: [PATCH] %zu is not universally available --- bin/tests/system/rndc/gencheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/rndc/gencheck.c b/bin/tests/system/rndc/gencheck.c index d72078782a..df03aaa0f8 100644 --- a/bin/tests/system/rndc/gencheck.c +++ b/bin/tests/system/rndc/gencheck.c @@ -79,7 +79,7 @@ main(int argc, char **argv) ret = EXIT_SUCCESS; out: - printf("%zu\n", length); + printf("%lu\n", (unsigned long)length); if (fd != -1) close(fd);