[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix printf of ssize_t that broke 64-bit build.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 6b6e09240435e559a116ea26c569f82be58c68b9
# Parent  964d6e7eb3e58478402058d5fdfcb1724b5fbc30
Fix printf of ssize_t that broke 64-bit build.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 964d6e7eb3e5 -r 6b6e09240435 tools/console/daemon/io.c
--- a/tools/console/daemon/io.c Wed Dec  7 10:53:47 2005
+++ b/tools/console/daemon/io.c Wed Dec  7 10:54:57 2005
@@ -486,7 +486,7 @@
        len = write(dom->tty_fd, dom->buffer.data + dom->buffer.consumed,
                    dom->buffer.size - dom->buffer.consumed);
        if (len < 1) {
-               dolog(LOG_DEBUG, "Write failed on domain %d: %d, %d\n",
+               dolog(LOG_DEBUG, "Write failed on domain %d: %zd, %d\n",
                      dom->domid, len, errno);
 
                close(dom->tty_fd);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.