diff options
author | Dan Mick <Dan.Mick@Sun.COM> | 2009-11-06 22:58:25 -0800 |
---|---|---|
committer | Dan Mick <Dan.Mick@Sun.COM> | 2009-11-06 22:58:25 -0800 |
commit | 7516146ed49224feaa58356b12207b2808ac4235 (patch) | |
tree | 1cfb1a84f28deb8bb44c6fe6213acfe64696e45c | |
parent | a2b0722de6ff85c0c3d7069f09809346837ab54e (diff) | |
download | illumos-gate-7516146ed49224feaa58356b12207b2808ac4235.tar.gz |
6881449 bop_trap() fails stack backtrace in 64-bit mode (fix lint)
-rw-r--r-- | usr/src/uts/i86pc/os/fakebop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/fakebop.c b/usr/src/uts/i86pc/os/fakebop.c index 170ff0b1ed..d870c940cc 100644 --- a/usr/src/uts/i86pc/os/fakebop.c +++ b/usr/src/uts/i86pc/os/fakebop.c @@ -1574,9 +1574,11 @@ bop_traceback(bop_frame_t *frame) { pc_t pc; int cnt; - int a; char *ksym; ulong_t off; +#if defined(__i386) + int a; +#endif bop_printf(NULL, "Stack traceback:\n"); for (cnt = 0; cnt < 30; ++cnt) { /* up to 30 frames */ |