summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortdeval <tdeval@openbsd.org>2004-01-29 13:46:25 +0000
committertdeval <tdeval@openbsd.org>2004-01-29 13:46:25 +0000
commitbee821de7ad3f08dfa7fc52fb1063d0e37e480c5 (patch)
treee9744b2952bbcb3d44f8ee2e538cfd6531ddd778
parentturn off TF_SIGNATURE on the listen socket if there is no matching SA. (diff)
downloadwireguard-openbsd-bee821de7ad3f08dfa7fc52fb1063d0e37e480c5.tar.xz
wireguard-openbsd-bee821de7ad3f08dfa7fc52fb1063d0e37e480c5.zip
"And you definitely don't want to use p_priority. Use PRIBIO"
From art@
-rw-r--r--sys/scsi/scsiconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index c847c365416..05604b6fc41 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.82 2004/01/29 12:47:18 tdeval Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.83 2004/01/29 13:46:25 tdeval Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -196,7 +196,7 @@ scsibusattach(parent, self, aux)
if (cold)
delay(1000000 * SCSI_DELAY);
else
- tsleep(sb, curproc->p_priority, NULL, SCSI_DELAY * hz);
+ tsleep(sb, PRIBIO, NULL, SCSI_DELAY * hz);
scsi_probe_bus(sb->sc_dev.dv_unit, -1, -1);
}