diff options
| author | David Schultz <das@FreeBSD.org> | 2004-06-08 05:45:32 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2004-06-08 05:45:32 +0000 |
| commit | 52183d4654e61d240982c5bfa60a05254378c41e (patch) | |
| tree | 32c47a37c84438fc9b0379f295a4d6bd77642d2b /lib/libc/stdio/wbuf.c | |
| parent | 325d97d0d1b2826d9c0ddc5f4319dc5acf5178ff (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/wbuf.c')
| -rw-r--r-- | lib/libc/stdio/wbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/wbuf.c b/lib/libc/stdio/wbuf.c index 80945d822571..4a123052c789 100644 --- a/lib/libc/stdio/wbuf.c +++ b/lib/libc/stdio/wbuf.c @@ -65,7 +65,7 @@ __swbuf(c, fp) * calls might wrap _w from negative to positive. */ fp->_w = fp->_lbfsize; - if (cantwrite(fp)) + if (prepwrite(fp) != 0) return (EOF); c = (unsigned char)c; |
