diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-11-09 04:13:26 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-11-09 04:13:26 +0000 |
| commit | 39df93ae417e77e9e6caeaa086846ec2964f8b27 (patch) | |
| tree | af0062c531b83901a59c9304b6e073cf7ba938e4 | |
| parent | 0b77fb0c75ed4cbab5f9615ffce1432e7f0d565b (diff) | |
Notes
| -rw-r--r-- | lib/libc/locale/mbstowcs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/locale/mbstowcs.c b/lib/libc/locale/mbstowcs.c index a9adb8ab3321..7fd86630d478 100644 --- a/lib/libc/locale/mbstowcs.c +++ b/lib/libc/locale/mbstowcs.c @@ -67,6 +67,7 @@ mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n) errno = EILSEQ; return (-1); } + return (cnt); } /* Convert, store and count characters. */ |
