From e849c67ce712f5fdc6812c4c5b19421bc59f8c0f Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 6 Dec 2013 16:29:52 +0100 Subject: kern/startup.c: use boolean values * kern/startup.c (reboot_on_panic): Use boolean values. --- kern/startup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kern/startup.c b/kern/startup.c index be83f6b..78c210d 100644 --- a/kern/startup.c +++ b/kern/startup.c @@ -68,7 +68,7 @@ #endif /* MACH_KDB */ #if ! MACH_KBD -boolean_t reboot_on_panic = 1; +boolean_t reboot_on_panic = TRUE; #endif #if NCPUS > 1 @@ -103,7 +103,7 @@ void setup_main() } #else /* MACH_KDB */ if (strstr (kernel_cmdline, "-H ")) { - reboot_on_panic = 0; + reboot_on_panic = FALSE; } #endif /* MACH_KDB */ -- cgit v1.2.3