summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--libio/genops.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a042ebf18b..7024d8ea06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
+
+ * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
+ __libc_cleanup_region_start argument.
+
2012-11-01 Joseph Myers <joseph@codesourcery.com>
[BZ #14784]
diff --git a/libio/genops.c b/libio/genops.c
index 0a81a5d101..61e59f95a1 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -822,7 +822,7 @@ _IO_flush_all_lockp (int do_lock)
int last_stamp;
#ifdef _IO_MTSAFE_IO
- __libc_cleanup_region_start (do_lock, flush_cleanup, 0);
+ __libc_cleanup_region_start (do_lock, flush_cleanup, NULL);
if (do_lock)
_IO_lock_lock (list_all_lock);
#endif