summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wskbd.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-04-05 16:34:39 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-04-05 16:34:39 +0000
commit490e0e94991c7b841f834e92cd3c0be508c0faea (patch)
treea7376c5195f447a41c68d4c801e198a18425d071 /sys/dev/wscons/wskbd.c
parentded6058e529bea52af65383490173cc297c65ec1 (diff)
protect another use of wskbd_repeat with #if NWSDISPLAY > 0
Diffstat (limited to 'sys/dev/wscons/wskbd.c')
-rw-r--r--sys/dev/wscons/wskbd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index 79e7ea68d78..8841cc132dd 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.30 2002/03/30 23:00:01 mickey Exp $ */
+/* $OpenBSD: wskbd.c,v 1.31 2002/04/05 16:34:38 jason Exp $ */
/* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */
/*
@@ -388,7 +388,9 @@ wskbd_attach(parent, self, aux)
wskbd_update_layout(sc->id, ap->keymap->layout);
}
+#if NWSDISPLAY > 0
timeout_set(&sc->sc_repeat_ch, wskbd_repeat, sc);
+#endif
sc->id->t_sc = sc;