From owner-svn-src-stable@FreeBSD.ORG Sat Dec 31 13:56:32 2011 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C09E8106564A; Sat, 31 Dec 2011 13:56:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AA9958FC08; Sat, 31 Dec 2011 13:56:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBVDuWW8066235; Sat, 31 Dec 2011 13:56:32 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBVDuWkF066233; Sat, 31 Dec 2011 13:56:32 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112311356.pBVDuWkF066233@svn.freebsd.org> From: Dimitry Andric Date: Sat, 31 Dec 2011 13:56:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229090 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/i386 X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 13:56:32 -0000 Author: dim Date: Sat Dec 31 13:56:32 2011 New Revision: 229090 URL: http://svn.freebsd.org/changeset/base/229090 Log: MFC r228548: In cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c, use the correct printf format for an unsigned long. Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c Directory Properties: stable/9/cddl/contrib/opensolaris/ (props changed) Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c ============================================================================== --- stable/9/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c Sat Dec 31 13:44:10 2011 (r229089) +++ stable/9/cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c Sat Dec 31 13:56:32 2011 (r229090) @@ -436,7 +436,7 @@ dt_pid_create_glob_offset_probes(struct 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;