summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_workq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_workq.c b/sys/kern/kern_workq.c
index b4a62f68d4d..6c98f35baf2 100644
--- a/sys/kern/kern_workq.c
+++ b/sys/kern/kern_workq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_workq.c,v 1.9 2008/10/30 23:55:22 dlg Exp $ */
+/* $OpenBSD: kern_workq.c,v 1.10 2009/06/24 14:56:41 jsg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -186,7 +186,7 @@ workq_next_task(struct workq *wq)
} else if (wq->wq_flags & WQ_F_RUNNING)
msleep(wq, &wq->wq_mtx, PWAIT, "bored", 0);
else {
- if (--wq->wq_running == 0);
+ if (--wq->wq_running == 0)
wakeup_one(&wq->wq_running);
break;
}