summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-01-24 20:20:12 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-01-24 20:20:12 +0000
commit82b8edd87ec83da6e2e7a59efcdf404507e832c9 (patch)
tree3ea0af1406b28caf7976ec8fd71214df0a1844db
parent2af5d78a2f71f124d8da83ca144caa276b3ad500 (diff)
Fixed stderr initialization bug (mine).
-rw-r--r--libc/stdio/stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c
index 840bcf6ec..f290260ae 100644
--- a/libc/stdio/stdio.c
+++ b/libc/stdio/stdio.c
@@ -82,7 +82,7 @@ void _free_stdio_buffer(unsigned char *buf)
#define bufin (_fixed_buffers[0].data)
#define bufout (_fixed_buffers[1].data)
-#define buferr (_stdio_streams[3].unbuf) /* Stderr is unbuffered */
+#define buferr (_stdio_streams[2].unbuf) /* Stderr is unbuffered */
struct fixed_buffer _fixed_buffers[FIXED_BUFFERS];