libc: Fix the typo error in wcrtomb
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Id8841ca33a47cea3a1b68229979fd607049f766d
This commit is contained in:
parent
57caa4e121
commit
f1433ee8d2
@ -62,7 +62,7 @@ size_t wcrtomb(FAR char *s, wchar_t wc, FAR mbstate_t *ps)
|
||||
|
||||
if (s == NULL)
|
||||
{
|
||||
retval = wctomb(buf, L'\0');
|
||||
retval = wctomb(buf, wc);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user