about summary refs log tree commit diff
path: root/sysdeps/generic/abort.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/abort.c')
-rw-r--r--sysdeps/generic/abort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/abort.c b/sysdeps/generic/abort.c
index 604eadc4f5..366a543791 100644
--- a/sysdeps/generic/abort.c
+++ b/sysdeps/generic/abort.c
@@ -90,7 +90,7 @@ abort (void)
   if (stage == 4)
     {
       ++stage;
-      fclose (NULL);
+      __fcloseall ();
     }
 
   /* Try again.  */