diff options
Diffstat (limited to 'wcsmbs/wcsrtombs.c')
-rw-r--r-- | wcsmbs/wcsrtombs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c index 999e291eb2..ac54e743be 100644 --- a/wcsmbs/wcsrtombs.c +++ b/wcsmbs/wcsrtombs.c @@ -64,7 +64,7 @@ __wcsrtombs (dst, src, len, ps) if (wc < 0 || wc > 0x7fffffff) { /* This is no correct ISO 10646 character. */ - errno = EILSEQ; + __set_errno (EILSEQ); return (size_t) -1; } |