qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Stefan Weil <sw@weilnetz.de>,
	qemu-devel@nongnu.org,
	Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH 5/5] trace-events: Fix broken build caused by wrong format specifier
Date: Mon, 26 Mar 2012 13:07:50 +0100	[thread overview]
Message-ID: <1332763670-32063-6-git-send-email-stefanha@linux.vnet.ibm.com> (raw)
In-Reply-To: <1332763670-32063-1-git-send-email-stefanha@linux.vnet.ibm.com>

From: Stefan Weil <sw@weilnetz.de>

mem is an uint64_t value, so %lx was wrong.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 trace-events |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/trace-events b/trace-events
index 70f059d..db2cd39 100644
--- a/trace-events
+++ b/trace-events
@@ -726,7 +726,7 @@ ppm_save(const char *filename, void *display_surface) "%s surface=%p"
 # hw/qxl.c
 disable qxl_interface_set_mm_time(int qid, uint32_t mm_time) "%d %d"
 disable qxl_io_write_vga(int qid, const char *mode, uint32_t addr, uint32_t val) "%d %s addr=%u val=%u"
-qxl_create_guest_primary(int qid, uint32_t width, uint32_t height, uint64_t mem, uint32_t format, uint32_t position) "%d %dx%d mem=%lx %d,%d"
+qxl_create_guest_primary(int qid, uint32_t width, uint32_t height, uint64_t mem, uint32_t format, uint32_t position) "%d %ux%u mem=%" PRIx64 " %u,%u"
 qxl_create_guest_primary_rest(int qid, int32_t stride, uint32_t type, uint32_t flags) "%d %d,%d,%d"
 qxl_destroy_primary(int qid) "%d"
 qxl_enter_vga_mode(int qid) "%d"
-- 
1.7.9.1

  parent reply	other threads:[~2012-03-26 12:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26 12:07 [Qemu-devel] [PULL 0/5] Trivial patches for 20 to 26 March 2012 Stefan Hajnoczi
2012-03-26 12:07 ` [Qemu-devel] [PATCH 1/5] vl.c: fix '-cpu ?' segfault Stefan Hajnoczi
2012-03-26 12:07 ` [Qemu-devel] [PATCH 2/5] test: remove qemu-ga reference Stefan Hajnoczi
2012-03-26 12:07 ` [Qemu-devel] [PATCH 3/5] qapi: remove print statements from test-qmp-commands Stefan Hajnoczi
2012-03-26 12:07 ` [Qemu-devel] [PATCH 4/5] test: add test-qmp-commands to make check Stefan Hajnoczi
2012-03-26 12:07 ` Stefan Hajnoczi [this message]
2012-03-26 12:41   ` [Qemu-devel] [PATCH 5/5] trace-events: Fix broken build caused by wrong format specifier Andreas Färber
2012-03-26 12:48     ` Alon Levy
2012-03-26 21:10 ` [Qemu-devel] [PULL 0/5] Trivial patches for 20 to 26 March 2012 Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332763670-32063-6-git-send-email-stefanha@linux.vnet.ibm.com \
    --to=stefanha@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).