projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix (hopefully) statvfs breakage on x86_64 that resulted from fixing i386...
[musl]
/
src
/
thread
/
pthread_rwlock_tryrdlock.c
diff --git
a/src/thread/pthread_rwlock_tryrdlock.c
b/src/thread/pthread_rwlock_tryrdlock.c
index
fc1d532
..
f860ec7
100644
(file)
--- a/
src/thread/pthread_rwlock_tryrdlock.c
+++ b/
src/thread/pthread_rwlock_tryrdlock.c
@@
-7,7
+7,7
@@
int pthread_rwlock_tryrdlock(pthread_rwlock_t *rw)
a_dec(&rw->_rw_readers);
if (rw->_rw_waiters && !rw->_rw_readers)
__wake(&rw->_rw_readers, 1, 0);
- return E
AGAIN
;
+ return E
BUSY
;
}
return 0;
}