Skip to content
  • 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: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
    49796d6a