summaryrefslogtreecommitdiff
path: root/userland/libc/libc.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/libc.c')
-rw-r--r--userland/libc/libc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/libc.c b/userland/libc/libc.c
index 31d8648..decd002 100644
--- a/userland/libc/libc.c
+++ b/userland/libc/libc.c
@@ -131,6 +131,7 @@ void _libc_setup(void) {
__stderr_FILE->read = read_fd;
__stderr_FILE->is_eof = 0;
__stderr_FILE->has_error = 0;
+ __stdout_FILE->seek = NULL;
__stderr_FILE->cookie = NULL;
__stderr_FILE->fd = 2;
__stderr_FILE->fflush = fflush_fd;