• Peter Hutterer's avatar
    Fix format-security warnings · 49796d6a
    Peter Hutterer authored
    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's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    49796d6a
sis_driver.c 418 KB