summaryrefslogtreecommitdiffstats
path: root/src/util/u_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/u_queue.c')
-rw-r--r--src/util/u_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_queue.c b/src/util/u_queue.c
index 43c28ac6ef8..dba23f96456 100644
--- a/src/util/u_queue.c
+++ b/src/util/u_queue.c
@@ -113,7 +113,7 @@ do_futex_fence_wait(struct util_queue_fence *fence,
int r = futex_wait(&fence->val, 2, timeout ? &ts : NULL);
if (timeout && r < 0) {
- if (errno == -ETIMEDOUT)
+ if (errno == ETIMEDOUT)
return false;
}