tools/libxc: Annotate xc_report_error with __attribute__((format))
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 9 Jun 2014 15:41:06 +0000 (16:41 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Jun 2014 12:46:45 +0000 (13:46 +0100)
commitf1f009af79b05ad99561bca4521499f2c7cbd00c
tree0a157c552070c2a65352cbb98e02f45282bc0df6
parentb0add92bb6553bfa481e84203bbb93b946d61824
tools/libxc: Annotate xc_report_error with __attribute__((format))

This helps the compiler spot printf formatting errors.

Fix up all errors discovered.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_core.c
tools/libxc/xc_domain_restore.c
tools/libxc/xc_gnttab.c
tools/libxc/xc_private.h
tools/xenpaging/xenpaging.c