projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344eecf
)
spice-qemu-char.c: Use correct printf format char for ssize_t
author
Peter Maydell
<peter.maydell@linaro.org>
Tue, 9 Aug 2011 22:04:35 +0000
(23:04 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 7 Sep 2011 07:20:09 +0000
(09:20 +0200)
Use the correct printf format string character (%z) for ssize_t.
This fixes a compile failure on 32 bit Linux with spice enabled.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice-qemu-char.c
patch
|
blob
|
history
diff --git
a/spice-qemu-char.c
b/spice-qemu-char.c
index a9323f39fb754e37049919835d82871a5a17c79b..ac522022cc6043729ea5127deda7500261246e3c 100644
(file)
--- a/
spice-qemu-char.c
+++ b/
spice-qemu-char.c
@@
-45,7
+45,7
@@
static int vmc_write(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len)
p += last_out;
}
- dprintf(scd, 3, "%s: %
l
u/%zd\n", __func__, out, len + out);
+ dprintf(scd, 3, "%s: %
z
u/%zd\n", __func__, out, len + out);
trace_spice_vmc_write(out, len + out);
return out;
}