diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-20 20:18:41 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-04-24 15:51:34 +0300 |
commit | 4da99751f967c5f8f04e17d8881a68c2940f3b06 (patch) | |
tree | 7329bd3039a6a640435a1a6132f12f2a4422e20d /usr/src/uts/common/os/panic.c | |
parent | 36f99a58464a4c3e25e881cab429881edb09951b (diff) | |
download | illumos-joyent-4da99751f967c5f8f04e17d8881a68c2940f3b06.tar.gz |
10790 i86pc: NULL pointer errors
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/os/panic.c')
-rw-r--r-- | usr/src/uts/common/os/panic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/panic.c b/usr/src/uts/common/os/panic.c index 09dc058fd8..62be47e843 100644 --- a/usr/src/uts/common/os/panic.c +++ b/usr/src/uts/common/os/panic.c @@ -178,7 +178,7 @@ char panic_preempt; /* t_preempt for panic_thread */ */ char *panic_bootstr = NULL; /* mdboot string to use after panic */ int panic_bootfcn = AD_BOOT; /* mdboot function to use after panic */ -int halt_on_panic = 0; /* halt after dump instead of reboot? */ +int halt_on_panic = 0; /* halt after dump instead of reboot? */ int nopanicdebug = 0; /* reboot instead of call debugger? */ int in_sync = 0; /* skip vfs_syncall() and just dump? */ @@ -311,7 +311,7 @@ panicsys(const char *format, va_list alist, struct regs *rp, int on_panic_stack) splx(ipltospl(CLOCK_LEVEL)); panic_quiesce_hw(pdp); (void) FTRACE_STOP(); - (void) callb_execute_class(CB_CL_PANIC, NULL); + (void) callb_execute_class(CB_CL_PANIC, 0); if (log_intrq != NULL) log_flushq(log_intrq); |