summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/stdlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibC/stdlib.cpp')
-rw-r--r--Userland/Libraries/LibC/stdlib.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibC/stdlib.cpp b/Userland/Libraries/LibC/stdlib.cpp
index 713373fad9..580ffd630c 100644
--- a/Userland/Libraries/LibC/stdlib.cpp
+++ b/Userland/Libraries/LibC/stdlib.cpp
@@ -189,8 +189,7 @@ void exit(int status)
extern void _fini();
_fini();
- fflush(stdout);
- fflush(stderr);
+ fflush(nullptr);
#ifndef _DYNAMIC_LOADER
__pthread_key_destroy_for_current_thread();