summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-03-27 12:45:48 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-03-27 12:45:48 +0000
commita95e25a3d3f3d4041148819a07d3976864b0cd70 (patch)
treed470322b9a5bd9492149b132cf92196fd106c4f4 /sys
parentb84b61b7ae2a04b2bf8baf435e862aefad8358e9 (diff)
Always sleep at same priority.
ok uebayasi@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ipmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c
index 5644064721e..63973d21aa2 100644
--- a/sys/dev/ipmi.c
+++ b/sys/dev/ipmi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmi.c,v 1.95 2016/02/11 04:02:22 uebayasi Exp $ */
+/* $OpenBSD: ipmi.c,v 1.96 2016/03/27 12:45:47 mpi Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi
@@ -1576,7 +1576,7 @@ ipmi_poll_thread(void *arg)
printf("%s: no SDRs IPMI disabled\n", DEVNAME(sc));
goto done;
}
- while (tsleep(sc, PUSER + 1, "ipmirun", 1) != EWOULDBLOCK)
+ while (tsleep(sc, PWAIT, "ipmirun", 1) != EWOULDBLOCK)
continue;
}