svn commit: r251937 - stable/9/sys/dev/twa

Alexander Motin mav at FreeBSD.org
Tue Jun 18 13:36:15 UTC 2013


Author: mav
Date: Tue Jun 18 13:36:15 2013
New Revision: 251937
URL: http://svnweb.freebsd.org/changeset/base/251937

Log:
  MFC r242827 (by rdivacky):
  Give tw_osl_dbg_printf format string to pacify clang warning.

Modified:
  stable/9/sys/dev/twa/tw_cl_misc.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/twa/tw_cl_misc.c
==============================================================================
--- stable/9/sys/dev/twa/tw_cl_misc.c	Tue Jun 18 13:34:37 2013	(r251936)
+++ stable/9/sys/dev/twa/tw_cl_misc.c	Tue Jun 18 13:36:15 2013	(r251937)
@@ -641,7 +641,7 @@ tw_cli_dbg_printf(TW_UINT8 dbg_level,
 		va_end(ap);
 
 		tw_osl_strcpy(print_str + tw_osl_strlen(print_str), "\n");
-		tw_osl_dbg_printf(ctlr_handle, print_str);
+		tw_osl_dbg_printf(ctlr_handle, "%s", print_str);
 	}
 #endif /* TW_OSL_DEBUG */
 }


More information about the svn-src-all mailing list