diff options
author | Patrick Mooney <pmooney@pfmooney.com> | 2017-09-21 18:03:12 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-10-10 15:21:08 +0000 |
commit | 086dcf7e86461fd5b1eb18e47d0e3d136a959e5e (patch) | |
tree | c17909a7b9b90806249754bc57a57deee9260b98 /usr/src | |
parent | 86e908a90d84b25fff11d115c73c14e4634bb00b (diff) | |
download | illumos-joyent-086dcf7e86461fd5b1eb18e47d0e3d136a959e5e.tar.gz |
8667 die() misleads with KERNELBASE
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/i86pc/os/trap.c | 4 |
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, |