aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib/libdtrace
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-12-20 05:45:52 +0000
committerMark Johnston <markj@FreeBSD.org>2016-12-20 05:45:52 +0000
commita46000e8ff8eac3c1a761e0f985d9131ba48f3f8 (patch)
treea7a4fc64a7e91321a9f4227cd9421a26dba09a84 /cddl/contrib/opensolaris/lib/libdtrace
parent8e10e18f0219fcf646a0a00115d60516ca740a33 (diff)
downloadsrc-a46000e8ff8eac3c1a761e0f985d9131ba48f3f8.tar.gz
src-a46000e8ff8eac3c1a761e0f985d9131ba48f3f8.zip
Consistently print D variable indices in decimal when disassembling.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=310316
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libdtrace')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
index c0af36420e0c..0c41bda0aac9 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
@@ -499,7 +499,7 @@ dt_dis(const dtrace_difo_t *dp, FILE *fp)
if (v->dtdv_flags & DIFV_F_MOD)
(void) strcat(flags, "/w");
- (void) fprintf(fp, "%-16s %-4x %-3s %-3s %-4s %s\n",
+ (void) fprintf(fp, "%-16s %-4u %-3s %-3s %-4s %s\n",
&dp->dtdo_strtab[v->dtdv_name],
v->dtdv_id, kind, scope, flags + 1,
dt_dis_typestr(&v->dtdv_type, type, sizeof (type)));