svn commit: r280200 - stable/9/cddl/contrib/opensolaris/tools/ctf/cvt

Mark Johnston markj at FreeBSD.org
Wed Mar 18 02:29:02 UTC 2015


Author: markj
Date: Wed Mar 18 02:29:00 2015
New Revision: 280200
URL: https://svnweb.freebsd.org/changeset/base/280200

Log:
  MFC r280125:
  Add a missing format string argument.
  
  PR:		197391

Modified:
  stable/9/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
Directory Properties:
  stable/9/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c	Wed Mar 18 01:13:42 2015	(r280199)
+++ stable/9/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c	Wed Mar 18 02:29:00 2015	(r280200)
@@ -411,7 +411,7 @@ write_type(void *arg1, void *arg2)
 
 		if (i > CTF_MAX_VLEN) {
 			terminate("function %s has too many args: %d > %d\n",
-			    i, CTF_MAX_VLEN);
+			    tdesc_name(tp), i, CTF_MAX_VLEN);
 		}
 
 		ctt.ctt_info = CTF_TYPE_INFO(CTF_K_FUNCTION, isroot, i);


More information about the svn-src-stable-9 mailing list