summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2009-08-13 21:46:24 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2009-08-13 21:46:24 +0000
commit4b1257f4dbc748dc59c9f02fd79caadf3108cca4 (patch)
tree3dbe5999f742fe03909d6071990ec0db86314f6f /sys/dev
parente2b8fb8b4f25580857b3fa786247ffefb18b5be6 (diff)
Forgot to add break to the switch cases. Silly.
Okay deraadt@.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pckbc/pckbd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c
index cb0d797939c..c2b4c2c176d 100644
--- a/sys/dev/pckbc/pckbd.c
+++ b/sys/dev/pckbc/pckbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbd.c,v 1.18 2009/08/13 21:15:03 pirofti Exp $ */
+/* $OpenBSD: pckbd.c,v 1.19 2009/08/13 21:46:23 pirofti Exp $ */
/* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -413,9 +413,11 @@ pckbd_activate(struct device *self, enum devact act)
case DVACT_ACTIVATE:
if (!cold)
pckbd_enable(self, 1);
+ break;
case DVACT_DEACTIVATE:
if (!cold)
pckbd_enable(self, 0);
+ break;
}
return (0);
}