From c89889df75c707b215f02ef55caaa6ea414d8bbc Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 24 Oct 2010 01:08:51 +0200 Subject: Avoid harmless warning * i386/i386at/kd.c (kd_setleds1): Only display unexpected state warning when debugging is enabled. --- i386/i386at/kd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i386/i386at') 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; } -- cgit v1.2.3