diff options
author | dim <dim@FreeBSD.org> | 2011-12-15 22:37:33 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-15 22:37:33 +0000 |
commit | b69a7d17becc1dbf931966ee70c867c97de5ed31 (patch) | |
tree | 135a02c47413e633b1decf0fae4fa4c8483bbd3c /cddl/contrib | |
parent | 4d784918edbf9aefbab5ab12e4701d3104c3ff45 (diff) | |
download | FreeBSD-src-b69a7d17becc1dbf931966ee70c867c97de5ed31.zip FreeBSD-src-b69a7d17becc1dbf931966ee70c867c97de5ed31.tar.gz |
In cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c, use the
correct printf format for an unsigned long.
MFC after: 1 week
Diffstat (limited to 'cddl/contrib')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c b/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c index ad1c032..f11ae48 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c @@ -436,7 +436,7 @@ dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, char name[sizeof (i) * 2 + 1]; for (i = 0; i < end; i += size) { - (void) snprintf(name, sizeof (name), "%x", i); + (void) snprintf(name, sizeof (name), "%lx", i); if (gmatch(name, pattern)) ftp->ftps_offs[ftp->ftps_noffs++] = i; |