diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-09-01 10:02:30 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-09-22 08:48:04 -0300 |
commit | de477abcaaabb1f9815cb63876637a47a95e7ac1 (patch) | |
tree | 22bd98fe9a4aaa03257147db719e844fcdb42f7a /locale/programs/ld-ctype.c | |
parent | 340097d0b50eff9d3058e06c6989ae398c653d4a (diff) | |
download | glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.zip glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar.gz glibc-de477abcaaabb1f9815cb63876637a47a95e7ac1.tar.bz2 |
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 <fweimer@redhat.com>
Diffstat (limited to 'locale/programs/ld-ctype.c')
-rw-r--r-- | locale/programs/ld-ctype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index c6749db..e85820d 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -526,7 +526,7 @@ internal error in %s, line %u"), __FUNCTION__, __LINE__); { char buf[17]; - snprintf (buf, sizeof buf, "\\%Zo", cnt); + snprintf (buf, sizeof buf, "\\%zo", cnt); record_error (0, 0, _("\ character '%s' in class `%s' must be in class `%s'"), @@ -541,7 +541,7 @@ character '%s' in class `%s' must be in class `%s'"), { char buf[17]; - snprintf (buf, sizeof buf, "\\%Zo", cnt); + snprintf (buf, sizeof buf, "\\%zo", cnt); record_error (0, 0, _("\ character '%s' in class `%s' must not be in class `%s'"), |