summaryrefslogtreecommitdiff
path: root/sys/dev/sun/kbd.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-08 21:21:39 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-08 21:21:39 +0000
commitfa3ac60890d403b6994891797ae40ea98456004a (patch)
treef7ce505f84d0d5b245feb019828e0a71fc2084cb /sys/dev/sun/kbd.c
parent7897cd60201df45bca224c49b20122264c73b21d (diff)
Stab at fixing the locators.h mess, test!
Diffstat (limited to 'sys/dev/sun/kbd.c')
-rw-r--r--sys/dev/sun/kbd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sun/kbd.c b/sys/dev/sun/kbd.c
index ba522659602..610d4fdc8a2 100644
--- a/sys/dev/sun/kbd.c
+++ b/sys/dev/sun/kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.c,v 1.7 1997/08/08 08:17:15 downsj Exp $ */
+/* $OpenBSD: kbd.c,v 1.8 1997/08/08 21:21:38 niklas Exp $ */
/* $NetBSD: kbd.c,v 1.14 1997/07/17 01:17:45 jtk Exp $ */
/*
@@ -80,7 +80,6 @@
#include "event_var.h"
#include "kbd_xlate.h"
-#include "locators.h"
/*
* Ideas:
@@ -213,7 +212,7 @@ kbd_match(parent, vcf, aux)
struct zsc_attach_args *args = aux;
/* Exact match required for keyboard. */
- if (cf->cf_loc[ZSCCF_CHANNEL] == args->channel)
+ if (cf->cf_loc[0] == args->channel)
return 2;
return 0;