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 --- elf/tst-dlmodcount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/tst-dlmodcount.c') diff --git a/elf/tst-dlmodcount.c b/elf/tst-dlmodcount.c index 8a96803d85..d5f89b8f79 100644 --- a/elf/tst-dlmodcount.c +++ b/elf/tst-dlmodcount.c @@ -32,7 +32,7 @@ callback (struct dl_phdr_info *info, size_t size, void *ptr) static int last_adds = 0, last_subs = 0; intptr_t cmd = (intptr_t) ptr; - printf (" size = %Zu\n", size); + printf (" size = %zu\n", size); if (size < (offsetof (struct dl_phdr_info, dlpi_subs) + sizeof (info->dlpi_subs))) { -- cgit 1.4.1