Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 21:29:46 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228597 - head/cddl/contrib/opensolaris/tools/ctf/cvt
Message-ID:  <201112162129.pBGLTkDa027641@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Dec 16 21:29:46 2011
New Revision: 228597
URL: http://svn.freebsd.org/changeset/base/228597

Log:
  In cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, a size_t is passed
  to fprintf as a field width.  It should be an int instead, so cast it.
  
  MFC after:	1 week

Modified:
  head/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c

Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c
==============================================================================
--- head/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c	Fri Dec 16 21:24:11 2011	(r228596)
+++ head/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c	Fri Dec 16 21:29:46 2011	(r228597)
@@ -228,7 +228,7 @@ usage(void)
 	    "\n"
 	    "  Note: if -L labelenv is specified and labelenv is not set in\n"
 	    "  the environment, a default value is used.\n",
-	    progname, progname, strlen(progname), " ",
+	    progname, progname, (int)strlen(progname), " ",
 	    progname, progname);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112162129.pBGLTkDa027641>