Date: Tue, 18 Jun 2013 13:36:15 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r251937 - stable/9/sys/dev/twa Message-ID: <201306181336.r5IDaF3L066112@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */ }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306181336.r5IDaF3L066112>