diff -urN linux-2.4.2-pre4/ipc/sem.c linux/ipc/sem.c
--- linux-2.4.2-pre4/ipc/sem.c Sat Feb 17 11:14:27 2001
+++ linux/ipc/sem.c Sun Feb 18 08:21:37 2001
@@ -922,7 +922,7 @@
tmp = sem_lock(semid);
if(tmp==NULL) {
- if(queue.status != -EIDRM)
+ if(queue.prev != NULL)
BUG();
current->semsleeping = NULL;
error = -EIDRM;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/