summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/i86pc/os/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/i86pc/os/trap.c b/usr/src/uts/i86pc/os/trap.c
index b7bb1e6fa6..1d1cf4f416 100644
--- a/usr/src/uts/i86pc/os/trap.c
+++ b/usr/src/uts/i86pc/os/trap.c
@@ -32,7 +32,7 @@
/* */
/*
- * Copyright 2012 Joyent, Inc. All rights reserved.
+ * Copyright 2017 Joyent, Inc.
*/
#include <sys/types.h>
@@ -213,7 +213,7 @@ die(uint_t type, struct regs *rp, caddr_t addr, processorid_t cpuid)
curthread->t_panic_trap = &ti;
- if (type == T_PGFLT && addr < (caddr_t)KERNELBASE) {
+ if (type == T_PGFLT && addr < (caddr_t)kernelbase) {
panic("BAD TRAP: type=%x (#%s %s) rp=%p addr=%p "
"occurred in module \"%s\" due to %s",
type, trap_mnemonic, trap_name, (void *)rp, (void *)addr,