diff options
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/ip/ip.c')
-rw-r--r-- | usr/src/cmd/mdb/common/modules/ip/ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/mdb/common/modules/ip/ip.c b/usr/src/cmd/mdb/common/modules/ip/ip.c index da94942eae..800e46552a 100644 --- a/usr/src/cmd/mdb/common/modules/ip/ip.c +++ b/usr/src/cmd/mdb/common/modules/ip/ip.c @@ -1621,8 +1621,8 @@ th_trace(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) } else { thw.thw_match = B_TRUE; thw.thw_matchkey = addr; - if (mdb_readvar(&thw.thw_lbolt, - mdb_prop_postmortem ? "panic_lbolt" : "lbolt") == -1) { + + if ((thw.thw_lbolt = (clock_t)mdb_get_lbolt()) == -1) { mdb_warn("failed to read lbolt"); return (DCMD_ERR); } |