From de477abcaaabb1f9815cb63876637a47a95e7ac1 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Netto Date: Thu, 1 Sep 2022 10:02:30 -0300 Subject: Use '%z' instead of '%Z' on printf functions The Z modifier is a nonstandard synonymn for z (that predates z itself) and compiler might issue an warning for in invalid conversion specifier. Reviewed-by: Florian Weimer --- string/tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string/tester.c') diff --git a/string/tester.c b/string/tester.c index 5a397055b1..eed76239f5 100644 --- a/string/tester.c +++ b/string/tester.c @@ -1647,7 +1647,7 @@ main (void) else { status = EXIT_FAILURE; - printf("%Zd errors.\n", errors); + printf("%zd errors.\n", errors); } return status; -- cgit 1.4.1