aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-12-16 21:29:46 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-12-16 21:29:46 +0000
commit1e02cf9b8cdaf5806814bfb3d58ff90c49681a99 (patch)
treea86e77fb5c0fd4f9571be9572514728ff6a2a2c2 /cddl/contrib/opensolaris/tools
parent139df251d93b79158584123ef566dc4c8f89ee23 (diff)
downloadsrc-1e02cf9b8cdaf5806814bfb3d58ff90c49681a99.tar.gz
src-1e02cf9b8cdaf5806814bfb3d58ff90c49681a99.zip
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
Notes
Notes: svn path=/head/; revision=228597
Diffstat (limited to 'cddl/contrib/opensolaris/tools')
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c b/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c
index fa4fbebb45d2..105112d759d7 100644
--- a/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c
+++ b/cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c
@@ -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);
}