mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Initialized the cnt value of the file structure.
svn path=/trunk/; revision=17299
This commit is contained in:
parent
dbabadad17
commit
ad52723693
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ int vfprintf(FILE* f, const char* fmt, va_list ap)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue