about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/defs.c')
-rw-r--r--sysdeps/mach/hurd/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/defs.c b/sysdeps/mach/hurd/defs.c
index b2cfe7c4ff..b3b66f6296 100644
--- a/sysdeps/mach/hurd/defs.c
+++ b/sysdeps/mach/hurd/defs.c
@@ -1,6 +1,6 @@
 /* Definitions of global stdio data structures.
 
-Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+Copyright (C) 1991, 1992, 1993, 1994, 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
@@ -80,6 +80,6 @@ text_set_element (_hurd_fd_subinit, init_stdio);
 void
 DEFUN_VOID(_cleanup)
 {
-  (void) fclose ((FILE *) NULL);
+  __fcloseall ();
 }
 text_set_element (__libc_atexit, _cleanup);