diff options
author | 2020-12-11 04:00:33 +0000 | |
---|---|---|
committer | 2020-12-11 04:00:33 +0000 | |
commit | 9ebe90f31f61d784c6f4073a9e9f5c5d0652fe35 (patch) | |
tree | 60ad15dde108acf31397381ebb3bee65b4440a88 | |
parent | merge unbound 1.13.0 (diff) | |
download | wireguard-openbsd-9ebe90f31f61d784c6f4073a9e9f5c5d0652fe35.tar.xz wireguard-openbsd-9ebe90f31f61d784c6f4073a9e9f5c5d0652fe35.zip |
ipmi(4): tsleep(9) -> tsleep_nsec(9)
Tested by sthen@.
ok mpi@
-rw-r--r-- | sys/dev/ipmi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c index 9d8ea970628..62e1ddad566 100644 --- a/sys/dev/ipmi.c +++ b/sys/dev/ipmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi.c,v 1.112 2020/03/29 09:31:10 kettenis Exp $ */ +/* $OpenBSD: ipmi.c,v 1.113 2020/12/11 04:00:33 cheloha Exp $ */ /* * Copyright (c) 2015 Masao Uebayashi @@ -1497,7 +1497,8 @@ ipmi_poll_thread(void *arg) printf("%s: no SDRs IPMI disabled\n", DEVNAME(sc)); goto done; } - while (tsleep(sc, PWAIT, "ipmirun", 1) != EWOULDBLOCK) + while (tsleep_nsec(sc, PWAIT, "ipmirun", + MSEC_TO_NSEC(1)) != EWOULDBLOCK) continue; } |