diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-11-01 17:50:30 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-11-01 17:56:48 +0100 |
commit | 341dd67392b90af0e76913d0779b1bdafe64d1e4 (patch) | |
tree | 2477dc563997404e7b1d4d3bcb6c945cd2aa81a0 | |
parent | 473611b22d630a5cbb870d2a7edf08071d4d8ace (diff) | |
download | glibc-341dd67392b90af0e76913d0779b1bdafe64d1e4.zip glibc-341dd67392b90af0e76913d0779b1bdafe64d1e4.tar.gz glibc-341dd67392b90af0e76913d0779b1bdafe64d1e4.tar.bz2 |
Change type of constant to avoid a warning.
Warning has been introduced in commit 7583a88d1c7170caad26966bcea8bfc2c92093ba.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libio/genops.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 0a81a5d..61e59f9 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 |