diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-09-03 02:35:10 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-09-03 02:35:10 +0000 |
| commit | 347a15b2aba46a287d4c09410473249b557ed73e (patch) | |
| tree | cfb3107fbc4dd87a435ccc42a87f4089d4ea3761 /lib/libc/stdio/setvbuf.c | |
| parent | 5e00917d95e5b28db7af2ce3dce4f19ba54f1e2c (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/setvbuf.c')
| -rw-r--r-- | lib/libc/stdio/setvbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/setvbuf.c b/lib/libc/stdio/setvbuf.c index f25391ffa26a..c2179ca28bf1 100644 --- a/lib/libc/stdio/setvbuf.c +++ b/lib/libc/stdio/setvbuf.c @@ -88,7 +88,7 @@ setvbuf(fp, buf, mode, size) flags = fp->_flags; if (flags & __SMBF) free((void *)fp->_bf._base); - flags &= ~(__SLBF | __SNBF | __SMBF | __SOPT | __SNPT | __SEOF); + flags &= ~(__SLBF | __SNBF | __SMBF | __SOPT | __SOFF | __SNPT | __SEOF); /* If setting unbuffered mode, skip all the hard work. */ if (mode == _IONBF) |
