summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-07-31 11:01:49 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-07-31 11:01:49 +0000
commit4bf820b5cb72b3da1fa896a66ac898b0c7289c56 (patch)
tree6d770c6dbcc8da8b14696721e8a753dd72aaf216 /sys/dev
parent869929d491658a406903c4d1d2adceadcc968aeb (diff)
timeout_add -> timeout_add_msec
ok jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ukbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c
index 9c26d9bb852..1046df4ab02 100644
--- a/sys/dev/usb/ukbd.c
+++ b/sys/dev/usb/ukbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukbd.c,v 1.45 2009/01/21 21:54:00 grange Exp $ */
+/* $OpenBSD: ukbd.c,v 1.46 2009/07/31 11:01:48 blambert Exp $ */
/* $NetBSD: ukbd.c,v 1.85 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -537,7 +537,7 @@ ukbd_intr(struct uhidev *addr, void *ibuf, u_int len)
* We avoid this bug by holding off decoding for 20 ms.
*/
sc->sc_data = *ud;
- timeout_add(&sc->sc_delay, hz / 50);
+ timeout_add_msec(&sc->sc_delay, 20);
#ifdef DDB
} else if (sc->sc_console_keyboard && !sc->sc_polling) {
/*