summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-06 16:29:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:35:44 +0900
commite849c67ce712f5fdc6812c4c5b19421bc59f8c0f (patch)
tree578410c097c0b36d2c992fc10a3e555f4e78acd3 /kern
parent57f37685f5b23170093ae69cbbe656a0288ea60e (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.c4
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 */