Initialized the cnt value of the file structure.
Modified: trunk/reactos/lib/crt/stdio/vfprintf.c
_____
Modified: trunk/reactos/lib/crt/stdio/vfprintf.c
--- trunk/reactos/lib/crt/stdio/vfprintf.c 2005-08-11 19:49:47 UTC
(rev 17298)
+++ trunk/reactos/lib/crt/stdio/vfprintf.c 2005-08-11 19:52:33 UTC
(rev 17299)
@@ -22,7 +22,7 @@
if (f->_flag & _IONBF) {
f->_flag &= ~_IONBF;
f->_ptr = f->_base = localbuf;
- f->_bufsiz = BUFSIZ;
+ f->_bufsiz = f->_cnt = BUFSIZ;
len = __vfprintf(f, fmt, ap);
(void)fflush(f);
f->_flag |= _IONBF;