aboutsummaryrefslogtreecommitdiff
path: root/localedata
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-28 14:55:52 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-31 08:49:55 -0300
commit74942fd2735afaadf675b38abc19c65288155b02 (patch)
treed348948248bb352acd27a990a2572821bbf3eedf /localedata
parentd1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb (diff)
downloadglibc-74942fd2735afaadf675b38abc19c65288155b02.zip
glibc-74942fd2735afaadf675b38abc19c65288155b02.tar.gz
glibc-74942fd2735afaadf675b38abc19c65288155b02.tar.bz2
localedate: Fix printf type on tst_mbrtowc
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/tests-mbwc/tst_mbrtowc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/localedata/tests-mbwc/tst_mbrtowc.c b/localedata/tests-mbwc/tst_mbrtowc.c
index 20507ab..94bd28a 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);
}