commit | 9e79af3b61b5a617c537862ebe72248beff58f19 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Dec 18 10:05:42 2013 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Dec 18 10:05:42 2013 -0800 |
tree | 5901c5b3dd3eb00353ac1233f1506aa266a92221 | |
parent | 611b903ca7ba9d604a9e2ebc1efa5a66f7ccc049 [diff] [blame] |
Small style cleanup. Change-Id: Ib45a4a2296232968296f9bd7cc3592ba46fd412d
diff --git a/libc/bionic/pthread_cond.cpp b/libc/bionic/pthread_cond.cpp index 7c229b5..4583cef 100644 --- a/libc/bionic/pthread_cond.cpp +++ b/libc/bionic/pthread_cond.cpp
@@ -154,7 +154,7 @@ int status = __futex_wait_ex(&cond->value, COND_IS_SHARED(cond), old_value, reltime); pthread_mutex_lock(mutex); - if (status == (-ETIMEDOUT)) { + if (status == -ETIMEDOUT) { return ETIMEDOUT; } return 0;