diff options
Diffstat (limited to 'src/multibyte/mbrtowc.c')
-rw-r--r-- | src/multibyte/mbrtowc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multibyte/mbrtowc.c b/src/multibyte/mbrtowc.c index ec323859..db803661 100644 --- a/src/multibyte/mbrtowc.c +++ b/src/multibyte/mbrtowc.c @@ -51,7 +51,7 @@ loop: *(unsigned *)st = c; return -2; ilseq: - *(unsigned *)st = FAILSTATE; + *(unsigned *)st = 0; errno = EILSEQ; return -1; } |