Index: src/base/platform/semaphore.cc |
diff --git a/src/base/platform/semaphore.cc b/src/base/platform/semaphore.cc |
index 669240e6088cc8093ed3ab5c89b24645421d13bb..0679c00d95ea4f74693db2366716f6e29e43fbb9 100644 |
--- a/src/base/platform/semaphore.cc |
+++ b/src/base/platform/semaphore.cc |
@@ -114,7 +114,7 @@ bool Semaphore::WaitFor(const TimeDelta& rel_time) { |
do { |
int result = sem_trywait(&native_handle_); |
if (result == 0) return true; |
- DCHECK(errno == EAGAIN || error == EINTR); |
+ DCHECK(errno == EAGAIN || errno == EINTR); |
} while (!timer.HasExpired(rel_time)); |
return false; |
#else |