Author: markj
Date: Fri Feb  3 01:10:38 2017
New Revision: 313123
URL: https://svnweb.freebsd.org/changeset/base/313123

Log:
  MFC r310316:
  Consistently print D variable indices in decimal when disassembling.

Modified:
  stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
==============================================================================
--- stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c    Fri Feb 
 3 01:04:22 2017        (r313122)
+++ stable/11/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c    Fri Feb 
 3 01:10:38 2017        (r313123)
@@ -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)));
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to