From b875704d9dce85e67d9170c6a42adb7e46c46b66 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Sat, 19 Mar 2016 15:16:43 +0100 Subject: [PATCH] fix typo and ignored conditional. --- src/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue.c b/src/queue.c index 4b36907fa3..6b788d7376 100644 --- a/src/queue.c +++ b/src/queue.c @@ -145,7 +145,7 @@ struct task *queue_gettask(struct queue *q, const struct task *prev, /* If there are no tasks, leave immediately. */ if (q->count == 0) { - lock_unloc(qlock); + lock_unlock_blind(qlock); return NULL; } -- GitLab