summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-28 01:50:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-28 01:50:09 +0000
commit4f95b3290ac7677a4c68d719e4d2b6d079c90816 (patch)
tree37a8441fce02471353b2707432cd6a6576a32cb9
parent4e9da31ff3e83a9c8e43bcd03fabee73ea881bbd (diff)
do not assume PR_NOWAIT is 0; it is not anymore
-rw-r--r--sys/dev/ic/ncr53c9x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index 691887aed7b..4c8a6413304 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.48 2010/06/28 18:31:02 krw Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.49 2010/09/28 01:50:08 deraadt Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -761,7 +761,7 @@ ncr53c9x_get_ecb(sc, flags)
int flags;
{
struct ncr53c9x_ecb *ecb;
- int s, wait = 0;
+ int s, wait = PR_NOWAIT;
if ((curproc != NULL) && ((flags & SCSI_NOSLEEP) == 0))
wait = PR_WAITOK;