svn commit: r228549 -
head/cddl/contrib/opensolaris/lib/libdtrace/common
Dimitry Andric
dim at FreeBSD.org
Thu Dec 15 22:46:05 UTC 2011
Author: dim
Date: Thu Dec 15 22:46:04 2011
New Revision: 228549
URL: http://svn.freebsd.org/changeset/base/228549
Log:
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
Modified:
head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
==============================================================================
--- head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c Thu Dec 15 22:37:33 2011 (r228548)
+++ head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c Thu Dec 15 22:46:04 2011 (r228549)
@@ -1106,7 +1106,7 @@ process_obj(dtrace_hdl_t *dtp, const cha
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;
More information about the svn-src-head
mailing list