In cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, use the

correct printf format for a key_t (aka long).

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-15 22:46:04 +00:00
parent bb15ca603f
commit 8b6b79ce0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228549

View File

@ -1106,7 +1106,7 @@ process_obj(dtrace_hdl_t *dtp, const char *obj, int *eprobesp)
static const char dt_prefix[] = "__dtrace";
static const char dt_enabled[] = "enabled";
static const char dt_symprefix[] = "$dtrace";
static const char dt_symfmt[] = "%s%d.%s";
static const char dt_symfmt[] = "%s%ld.%s";
int fd, i, ndx, eprobe, mod = 0;
Elf *elf = NULL;
GElf_Ehdr ehdr;