diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-06 16:29:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-09 00:35:44 +0900 |
commit | e849c67ce712f5fdc6812c4c5b19421bc59f8c0f (patch) | |
tree | 578410c097c0b36d2c992fc10a3e555f4e78acd3 /kern | |
parent | 57f37685f5b23170093ae69cbbe656a0288ea60e (diff) |
kern/startup.c: use boolean values
* kern/startup.c (reboot_on_panic): Use boolean values.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/startup.c | 4 |
1 files 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 */ |