WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix printf of ssize_t that broke 64-bit build.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Dec 2005 14:20:10 +0000
Delivery-date: Wed, 07 Dec 2005 16:59:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix printf of ssize_t that broke 64-bit build., Xen patchbot -unstable <=