summary refs log tree commit diff
path: root/libio/fcloseall.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/fcloseall.c')
-rw-r--r--libio/fcloseall.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libio/fcloseall.c b/libio/fcloseall.c
index cd01655450..9b980c6cde 100644
--- a/libio/fcloseall.c
+++ b/libio/fcloseall.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU IO Library.
 
    This library is free software; you can redistribute it and/or
@@ -30,8 +30,7 @@ int
 __fcloseall ()
 {
   /* Close all streams.  */
-  _IO_cleanup ();
-  return 0;
+  return _IO_cleanup ();
 }
 
 #ifdef weak_alias