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