mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
libc: Fix the typo error in wcrtomb
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Id8841ca33a47cea3a1b68229979fd607049f766d
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user