[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/18] kern/startup.c: use boolean values
From: |
Marin Ramesa |
Subject: |
[PATCH 10/18] kern/startup.c: use boolean values |
Date: |
Fri, 6 Dec 2013 16:29:52 +0100 |
* 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 */
--
1.8.1.4
- [PATCH 04/18] i386/i386at/pic_isa.c: remove forward declaration, (continued)
- [PATCH 04/18] i386/i386at/pic_isa.c: remove forward declaration, Marin Ramesa, 2013/12/06
- [PATCH 03/18] i386/i386at/model_dep.c: fix argument list, Marin Ramesa, 2013/12/06
- [PATCH 05/18] vm/vm_pageout.c: remove forward declarations, Marin Ramesa, 2013/12/06
- [PATCH 06/18] vm/vm_object.c: remove unused variable, Marin Ramesa, 2013/12/06
- [PATCH 07/18] vm/vm_map.c: use boolean instead of an int, Marin Ramesa, 2013/12/06
- [PATCH 02/18] i386/i386at/lpr.c: fix argument list, Marin Ramesa, 2013/12/06
- [PATCH 08/18] kern/boot_script.c: move struct definitions to a header file, Marin Ramesa, 2013/12/06
- [PATCH 09/18] kern/bootstrap.c: move struct definition to a header file, Marin Ramesa, 2013/12/06
- [PATCH 10/18] kern/startup.c: use boolean values,
Marin Ramesa <=
- [PATCH 12/18] kern/debug.c: fix implicit declaration of function, Marin Ramesa, 2013/12/06
- [PATCH 11/18] kern/exception.c: move struct definition to a header file, Marin Ramesa, 2013/12/06
- [PATCH 14/18] Fix initialization from incompatible pointer type, Marin Ramesa, 2013/12/06
- [PATCH 13/18] kern/machine.c: fix implicit declaration of function, Marin Ramesa, 2013/12/06
- [PATCH 15/18] i386/i386at/com.c: fix initialization from incompatible pointer type, Marin Ramesa, 2013/12/06
- [PATCH 16/18] i386/i386at/com.c: fix assignment from incompatible pointer type, Marin Ramesa, 2013/12/06