summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-24 01:08:51 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-24 01:08:51 +0200
commitc89889df75c707b215f02ef55caaa6ea414d8bbc (patch)
tree3676756927ff2b48cf335df2012b044d7da8a8c9 /i386/i386at
parentb98cbea48438bd787727f38cac538cfde305f4e2 (diff)
Avoid harmless warning
* i386/i386at/kd.c (kd_setleds1): Only display unexpected state warning when debugging is enabled.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/kd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index ad15595..4ac1dfe 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -2360,7 +2360,9 @@ kd_setleds1(val)
u_char val;
{
if (kd_ack != NOT_WAITING) {
+#ifdef MACH_KBD
printf("kd_setleds1: unexpected state (%d)\n", kd_ack);
+#endif
return;
}