about summary refs log tree commit diff
path: root/sysdeps/stub/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/defs.c')
-rw-r--r--sysdeps/stub/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/defs.c b/sysdeps/stub/defs.c
index 66f4c4dd24..4fd7ab3615 100644
--- a/sysdeps/stub/defs.c
+++ b/sysdeps/stub/defs.c
@@ -1,6 +1,6 @@
 /* Definitions of global stdio data structures.
 
-Copyright (C) 1991, 1995 Free Software Foundation, Inc.
+Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -40,7 +40,7 @@ FILE *__stdio_head;
 void
 DEFUN_VOID(_cleanup)
 {
-  (void) fclose((FILE *) NULL);
+  __fcloseall ();
 }