diff options
Diffstat (limited to 'src/exit/exit.c')
-rw-r--r-- | src/exit/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/exit.c b/src/exit/exit.c index d0c1bfc1..bfdb3923 100644 --- a/src/exit/exit.c +++ b/src/exit/exit.c @@ -17,7 +17,7 @@ void exit(int code) /* Only do atexit & stdio flush if they were actually used */ if (__funcs_on_exit) __funcs_on_exit(); - if (__fflush_on_exit) __fflush_on_exit(0); + if (__fflush_on_exit) __fflush_on_exit((void *)0); /* Destructor s**t is kept separate from atexit to avoid bloat */ if (libc.fini) libc.fini(); |