summaryrefslogtreecommitdiff
path: root/i386/i386at/kd_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/kd_event.c')
-rw-r--r--i386/i386at/kd_event.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/i386/i386at/kd_event.c b/i386/i386at/kd_event.c
index b60118e..53dade7 100644
--- a/i386/i386at/kd_event.c
+++ b/i386/i386at/kd_event.c
@@ -293,7 +293,14 @@ void
kbd_enqueue(kd_event *ev)
{
if (kdq_full(&kbd_queue))
- printf("kbd: queue full\n");
+ {
+ static int warned;
+ if (!warned)
+ {
+ printf("kbd: queue full\n");
+ warned = 1;
+ }
+ }
else
kdq_put(&kbd_queue, ev);