localedate: Fix printf type on tst_mbrtowc

Checked on x86_64-linux-gnu and i686-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2022-03-28 14:55:52 -03:00
parent d1eefcb2a0
commit 74942fd273

View File

@ -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);
}