In cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c, use the
correct printf format for an unsigned long. MFC after: 1 week
This commit is contained in:
parent
a2f16036af
commit
bb15ca603f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228548
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user