aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-05 04:41:44 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-05 04:41:44 +0000
commit30b323ab4efa30eb0250bf3375050685ab3d9da2 (patch)
tree15b240b045fc19640ee0406e8b043c42308b0c1e /stdio-common
parentd9ac82d0627df217b5f30df138bea08647e663fe (diff)
downloadglibc-30b323ab4efa30eb0250bf3375050685ab3d9da2.zip
glibc-30b323ab4efa30eb0250bf3375050685ab3d9da2.tar.gz
glibc-30b323ab4efa30eb0250bf3375050685ab3d9da2.tar.bz2
* stdio-common/vfprintf.c (process_string_arg): Adjust call to
__mbsnrtowcs after last change.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 20c07ce..4f0d971 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1173,8 +1173,8 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
memset (&ps, '\0', sizeof (ps)); \
\
while (str2 != NULL && str2 < strend) \
- if (__mbsnrtowcs (ignore, &str2, strend - str2, 1024, \
- &ps) == (size_t) -1) \
+ if (__mbsnrtowcs (ignore, &str2, strend - str2, \
+ ignore_size, &ps) == (size_t) -1) \
{ \
done = -1; \
goto all_done; \