aboutsummaryrefslogtreecommitdiff
path: root/hw/qxl-logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/qxl-logger.c')
-rw-r--r--hw/qxl-logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qxl-logger.c b/hw/qxl-logger.c
index 74cadba302..367aad19f4 100644
--- a/hw/qxl-logger.c
+++ b/hw/qxl-logger.c
@@ -224,7 +224,7 @@ void qxl_log_command(PCIQXLDevice *qxl, const char *ring, QXLCommandExt *ext)
if (!qxl->cmdlog) {
return;
}
- fprintf(stderr, "%ld qxl-%d/%s:", qemu_get_clock_ns(vm_clock),
+ fprintf(stderr, "%" PRId64 " qxl-%d/%s:", qemu_get_clock_ns(vm_clock),
qxl->id, ring);
fprintf(stderr, " cmd @ 0x%" PRIx64 " %s%s", ext->cmd.data,
qxl_name(qxl_type, ext->cmd.type),