public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] localedate: Fix printf type on tst_mbrtowc
@ 2022-03-31 11:53 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-03-31 11:53 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=74942fd2735afaadf675b38abc19c65288155b02
commit 74942fd2735afaadf675b38abc19c65288155b02
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Mar 28 14:55:52 2022 -0300
localedate: Fix printf type on tst_mbrtowc
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diff:
---
localedata/tests-mbwc/tst_mbrtowc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/localedata/tests-mbwc/tst_mbrtowc.c b/localedata/tests-mbwc/tst_mbrtowc.c
index 20507abd99..94bd28aba8 100644
--- a/localedata/tests-mbwc/tst_mbrtowc.c
+++ b/localedata/tests-mbwc/tst_mbrtowc.c
@@ -64,7 +64,7 @@ tst_mbrtowc (FILE * fp, int debug_flg)
{
fprintf (stdout, "mbrtowc() [ %s : %d : %d ] ret = %zd\n",
locale, rec + 1, seq_num + 1, ret);
- fprintf (stdout, " errno = %hd\n",
+ fprintf (stdout, " errno = %d\n",
errno_save);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-31 11:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 11:53 [glibc] localedate: Fix printf type on tst_mbrtowc Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).