From 226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 3 Oct 2024 15:08:45 +0200 Subject: libc: small changes --- userland/libc/stdio/fopen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/stdio/fopen.c') diff --git a/userland/libc/stdio/fopen.c b/userland/libc/stdio/fopen.c index 71d14db..52e78d1 100644 --- a/userland/libc/stdio/fopen.c +++ b/userland/libc/stdio/fopen.c @@ -56,5 +56,6 @@ FILE *fopen(const char *pathname, const char *mode) { r->fd = fd; r->read_buffer = NULL; r->read_buffer_stored = 0; + r->fflush = fflush_fd; return r; } -- cgit v1.2.3