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/fwrite.c | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/stdio/fwrite.c') diff --git a/userland/libc/stdio/fwrite.c b/userland/libc/stdio/fwrite.c index 6065465..6499529 100644 --- a/userland/libc/stdio/fwrite.c +++ b/userland/libc/stdio/fwrite.c @@ -8,5 +8,6 @@ size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) { // On success, fwrite() return the number of items // written. rc /= size; + fflush(stream); return rc; } -- cgit v1.2.3