diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 2009-12-02 02:47:29 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 2009-12-02 02:47:29 +0000 |
| commit | 28f2223875ad9a9be95a15ba343ff89d5743ef0a (patch) | |
| tree | 1ee0b4e3e26ef4d219fc74990c8c5b9f8b5d14ad /lib/libc/stdio/vfwprintf.c | |
| parent | 9e5aec39784a6e0123b653f0852d8076adf7a0fa (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/vfwprintf.c')
| -rw-r--r-- | lib/libc/stdio/vfwprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c index f3768de8d193..d34f559a8f3b 100644 --- a/lib/libc/stdio/vfwprintf.c +++ b/lib/libc/stdio/vfwprintf.c @@ -293,7 +293,7 @@ __mbsconv(char *mbsarg, int prec) * number of characters to print. */ p = mbsarg; - insize = nchars = 0; + insize = nchars = nconv = 0; mbs = initial_mbs; while (nchars != (size_t)prec) { nconv = mbrlen(p, MB_CUR_MAX, &mbs); |
