diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-01 22:07:30 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-04-20 13:14:53 +0100 |
commit | 5f8daf2e04709800531bc1ecbb7b49b637182777 (patch) | |
tree | 3bfba38ac802420d96887aa8da17c129f3bc71db /hw/qxl.h | |
parent | 4451b799626207ba66df78257fdf08c740cda6ae (diff) | |
download | qemu-5f8daf2e04709800531bc1ecbb7b49b637182777.zip qemu-5f8daf2e04709800531bc1ecbb7b49b637182777.tar.gz qemu-5f8daf2e04709800531bc1ecbb7b49b637182777.tar.bz2 |
qxl: Add missing GCC_FMT_ATTR and fix format specifier
val is an uint64_t, therefore %d was not correct.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/qxl.h')
-rw-r--r-- | hw/qxl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ typedef struct PCIQXLDevice { /* qxl.c */ void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id); -void qxl_guest_bug(PCIQXLDevice *qxl, const char *msg, ...); +void qxl_guest_bug(PCIQXLDevice *qxl, const char *msg, ...) GCC_FMT_ATTR(2, 3); void qxl_spice_update_area(PCIQXLDevice *qxl, uint32_t surface_id, struct QXLRect *area, struct QXLRect *dirty_rects, |