summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/mdb/common/mdb/mdb_cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/mdb/common/mdb/mdb_cmds.c b/usr/src/cmd/mdb/common/mdb/mdb_cmds.c
index af45b70ca3..a89d022d1e 100644
--- a/usr/src/cmd/mdb/common/mdb/mdb_cmds.c
+++ b/usr/src/cmd/mdb/common/mdb/mdb_cmds.c
@@ -2010,7 +2010,7 @@ cmd_dis(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
if (opt_a)
mdb_printf("%-#32p%8T%s\n", addr, buf);
else if (opt_b)
- mdb_printf("%-#10p%-#32a%8T%s\n",
+ mdb_printf("%-#?p %-#32a%8T%s\n",
addr, addr, buf);
else
mdb_printf("%-#32a%8T%s\n", addr, buf);
@@ -2034,7 +2034,7 @@ cmd_dis(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
if (opt_a)
mdb_printf("%-#32p%8T%s\n", oaddr, buf);
else if (opt_b)
- mdb_printf("%-#10p%-#32a%8T%s\n",
+ mdb_printf("%-#?p %-#32a%8T%s\n",
oaddr, oaddr, buf);
else
mdb_printf("%-#32a%8T%s\n", oaddr, buf);
@@ -2049,7 +2049,7 @@ cmd_dis(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
if (opt_a)
mdb_printf("%-#32p%8T%s%", addr, buf);
else if (opt_b)
- mdb_printf("%-#10p%-#32a%8T%s", addr, addr, buf);
+ mdb_printf("%-#?p %-#32a%8T%s", addr, addr, buf);
else
mdb_printf("%-#32a%8T%s%", addr, buf);
mdb_printf("%</b>\n");
@@ -2062,7 +2062,7 @@ cmd_dis(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
if (opt_a)
mdb_printf("%-#32p%8T%s\n", addr, buf);
else if (opt_b)
- mdb_printf("%-#10p%-#32a%8T%s\n",
+ mdb_printf("%-#?p %-#32a%8T%s\n",
addr, addr, buf);
else
mdb_printf("%-#32a%8T%s\n", addr, buf);