From 4da99751f967c5f8f04e17d8881a68c2940f3b06 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sun, 20 Jan 2019 20:18:41 +0200 Subject: 10790 i86pc: NULL pointer errors Reviewed by: Andy Stormont Reviewed by: Patrick Mooney Approved by: Dan McDonald --- usr/src/uts/common/os/panic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/common/os/panic.c') 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); -- cgit v1.2.3