diff options
-rw-r--r-- | i386/i386at/kd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 433d0f1..14524bf 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -1218,7 +1218,7 @@ kdinit() * output : bell is turned off * */ -static unsigned int kd_bellstate = 0; +static boolean_t kd_bellstate = FALSE; void kd_belloff(void * param) @@ -1227,7 +1227,7 @@ kd_belloff(void * param) status = (inb(K_PORTB) & ~(K_SPKRDATA | K_ENABLETMR2)); outb(K_PORTB, status); - kd_bellstate = 0; + kd_bellstate = FALSE; return; } @@ -1300,7 +1300,7 @@ u_char ch; { kd_bellon(); timeout(kd_belloff, 0, hz/8 ); - kd_bellstate = 1; + kd_bellstate = TRUE; } break; default: |