diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2019-11-30 18:18:35 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2019-11-30 18:18:35 +0000 |
commit | 6f87db94156d742fe7e5450407a44f5dc33e7415 (patch) | |
tree | 0eb28c41ffcd68ad821dee8538882ea94e055b35 /sys/dev | |
parent | 7fe0a3edede65590be6d4f6e79e247cd5ce6b30d (diff) |
pckbc(4): tsleep(9) -> tsleep_nsec(9); ok jca@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/pckbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/pckbc.c b/sys/dev/ic/pckbc.c index 210dc6df406..a6d7ad333b4 100644 --- a/sys/dev/ic/pckbc.c +++ b/sys/dev/ic/pckbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pckbc.c,v 1.52 2019/06/03 16:46:49 anton Exp $ */ +/* $OpenBSD: pckbc.c,v 1.53 2019/11/30 18:18:34 cheloha Exp $ */ /* $NetBSD: pckbc.c,v 1.5 2000/06/09 04:58:35 soda Exp $ */ /* @@ -931,7 +931,7 @@ pckbc_enqueue_cmd(pckbc_tag_t self, pckbc_slot_t slot, u_char *cmd, int len, if (q->polling) res = (sync ? nc->status : 0); else if (sync) { - if ((res = tsleep(nc, 0, "kbccmd", 1*hz))) { + if ((res = tsleep_nsec(nc, 0, "kbccmd", SEC_TO_NSEC(1)))) { pckbc_cleanup(t); } else { /* |