SISErrorLog: Add printf attribute
commit6b5e2078639725c09f9be7ca98512147dfa222a4
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 9 Dec 2022 02:30:12 +0000 (8 18:30 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 9 Dec 2022 02:30:12 +0000 (8 18:30 -0800)
treec6fa7ff4d75717f1f3e1ab86dfe9c0f913c638f3
parent7aca631c943c9c6108cc12099a4b747b109e2c0f
SISErrorLog: Add printf attribute

sis_driver.c: In function ‘SISErrorLog’:
sis_driver.c:435:5: warning: function ‘SISErrorLog’ might be a candidate
  for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
     xf86VDrvMsgVerb(pScrn->scrnIndex, X_ERROR, 1, format, ap);
     ^~~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/sis_driver.c