diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/string/wstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/wstring.c b/libc/string/wstring.c index 9ff74b31f..797329a89 100644 --- a/libc/string/wstring.c +++ b/libc/string/wstring.c @@ -3077,7 +3077,7 @@ size_t __XL(wcsxfrm)(wchar_t *__restrict ws1, const wchar_t *__restrict ws2, int pass; if (!CUR_COLLATE->num_weights) { /* C locale */ - return wcslcpy(ws1, ws2, n); + return wcsxfrm(ws1, ws2, n); } #ifdef __UCLIBC_MJN3_ONLY__ |