[PATCH xf86-video-sis] Fix format-security warnings

Alan Coopersmith alan.coopersmith at oracle.com
Fri Nov 22 09:21:19 PST 2013


On 11/21/13 03:28 PM, Peter Hutterer wrote:
> sis_driver.c: In function 'SISErrorLog':
> sis_driver.c:432:5: error: format not a string literal and no format arguments [-Werror=format-security]
>       xf86DrvMsg(pScrn->scrnIndex, X_ERROR, str);
>       ^
> sis_driver.c:439:5: error: format not a string literal and no format arguments [-Werror=format-security]
>       xf86DrvMsg(pScrn->scrnIndex, X_ERROR, str);
>       ^
> sis_driver.c: In function 'SiSUpdateXineramaScreenInfo':
> sis_driver.c:1917:4: error: format not a string literal and no format arguments [-Werror=format-security]
>      xf86DrvMsg(pScrn1->scrnIndex, X_INFO, rectxine);
>      ^
> sis_driver.c:1924:8: error: format not a string literal and no format arguments [-Werror=format-security]
>          xf86DrvMsg(pScrn1->scrnIndex, X_INFO, rectxine);
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>


-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list