svn commit: r229091 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

Dimitry Andric dim at FreeBSD.org
Sat Dec 31 14:02:16 UTC 2011


Author: dim
Date: Sat Dec 31 14:02:16 2011
New Revision: 229091
URL: http://svn.freebsd.org/changeset/base/229091

Log:
  MFC r228549:
  
  In cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, use the
  correct printf format for a key_t (aka long).

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

Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c	Sat Dec 31 13:56:32 2011	(r229090)
+++ stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c	Sat Dec 31 14:02:16 2011	(r229091)
@@ -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-stable-9 mailing list