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 --- iconv/iconv_charmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iconv') diff --git a/iconv/iconv_charmap.c b/iconv/iconv_charmap.c index 1992937..98c7649 100644 --- a/iconv/iconv_charmap.c +++ b/iconv/iconv_charmap.c @@ -440,7 +440,7 @@ process_block (struct convtable *tbl, char *addr, size_t len, FILE *output) ignoring errors. Otherwise punt. */ if (! omit_invalid) { - error (0, 0, _("illegal input sequence at position %Zd"), n); + error (0, 0, _("illegal input sequence at position %zd"), n); return -1; } -- cgit v1.1