"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sys/kern/subr_prf.c.patch-g4u" between
g4u-2.5.tgz and g4u-2.6.tgz

About: g4u ("ghosting for unix") is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP.

subr_prf.c.patch-g4u  (g4u-2.5.tgz):subr_prf.c.patch-g4u  (g4u-2.6.tgz)
$NetBSD$ $NetBSD$
+++ sys/kern/subr_prf.c --- subr_prf.c.orig 2016-08-09 21:24:13.000000000 +0000
@@ -236,6 +236,9 @@ panic(const char *fmt, ...) @@ -299,6 +299,9 @@ vpanic(const char *fmt, va_list ap)
} }
bootopt = RB_AUTOBOOT | RB_NOSYNC; bootopt = RB_AUTOBOOT | RB_NOSYNC;
+#ifdef HALT_ON_PANIC +#ifdef HALT_ON_PANIC
+ bootopt |= RB_HALT; /* HF/G4U */ + bootopt |= RB_HALT; /* HF/G4U */
+#endif +#endif
if (!doing_shutdown) { if (!doing_shutdown) {
if (dumponpanic) if (dumponpanic)
bootopt |= RB_DUMP; bootopt |= RB_DUMP;
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)