From 82b8edd87ec83da6e2e7a59efcdf404507e832c9 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 24 Jan 2001 20:20:12 +0000 Subject: Fixed stderr initialization bug (mine). --- libc/stdio/stdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio/stdio.c') 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]; -- cgit v1.2.3