summary refs log tree commit diff
path: root/linuxthreads/sysdeps/pthread
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-01 17:49:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-01 17:49:19 +0000
commitaebb1faa198634a318bc14cf1e577f5806fafc38 (patch)
tree84d2cb338c61c9afeb4dda6d3b01901a182ce0bb /linuxthreads/sysdeps/pthread
parenta8e58aa9ab2667045c1b21e5c1c5e21b075a782f (diff)
downloadglibc-aebb1faa198634a318bc14cf1e577f5806fafc38.tar.gz
glibc-aebb1faa198634a318bc14cf1e577f5806fafc38.tar.xz
glibc-aebb1faa198634a318bc14cf1e577f5806fafc38.zip
Update.
	* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
	patch (_mode -> _flags).
Diffstat (limited to 'linuxthreads/sysdeps/pthread')
-rw-r--r--linuxthreads/sysdeps/pthread/bits/stdio-lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h
index ba3e781928..42c219624f 100644
--- a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h
+++ b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h
@@ -27,7 +27,7 @@ typedef pthread_mutex_t _IO_lock_t;
 
 #define _IO_cleanup_region_start(_fct, _fp) \
   { struct _pthread_cleanup_buffer _buffer;				      \
-    int _avail = (((_fp)->_mode & _IO_USER_LOCK) == 0			      \
+    int _avail = (((_fp)->_flags & _IO_USER_LOCK) == 0			      \
 		  && _pthread_cleanup_push_defer != NULL);		      \
     if (_avail) {							      \
       _pthread_cleanup_push_defer (&_buffer, (_fct), (_fp));		      \