diff options
Diffstat (limited to 'include/wchar.h')
| -rw-r--r-- | include/wchar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h index 3cb6f92..09ffa97 100644 --- a/include/wchar.h +++ b/include/wchar.h | |||
| @@ -121,7 +121,7 @@ _FORTIFY_FN(wcrtomb) size_t wcrtomb(char *__s, wchar_t __w, mbstate_t *__st) | |||
| 121 | return __r; | 121 | return __r; |
| 122 | if (__r > __b) | 122 | if (__r > __b) |
| 123 | __builtin_trap(); | 123 | __builtin_trap(); |
| 124 | memcpy(__s, __buf, __r); | 124 | __builtin_memcpy(__s, __buf, __r); |
| 125 | return __r; | 125 | return __r; |
| 126 | } | 126 | } |
| 127 | return __orig_wcrtomb(__s, __w, __st); | 127 | return __orig_wcrtomb(__s, __w, __st); |
