From e86050875d72dbe2f80d3475220f769d7928f30b Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:27 +0100 Subject: i386/i386at/immc.c, kd.c: use boolean instead of an int * i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int. * i386/i386at/kd.c (immediate_console_enable): Likewise. --- i386/i386at/immc.c | 2 +- i386/i386at/kd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i386/i386at/immc.c b/i386/i386at/immc.c index db64620..b85eb07 100644 --- a/i386/i386at/immc.c +++ b/i386/i386at/immc.c @@ -33,7 +33,7 @@ so it can be used to debug things that happen very early before any devices are initialized. */ -int immediate_console_enable = 1; +boolean_t immediate_console_enable = TRUE; void immc_cnputc(unsigned char c) diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index def8a0c..24d999a 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -1189,8 +1189,8 @@ kdinit() /* Now that we're set up, we no longer need or want the immediate console. */ { - extern int immediate_console_enable; - immediate_console_enable = 0; + extern boolean_t immediate_console_enable; + immediate_console_enable = FALSE; } /* The immediate console printed stuff at the bottom of the -- cgit v1.2.3