ia64/xen-unstable

changeset 8260:6b6e09240435

Fix printf of ssize_t that broke 64-bit build.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Dec 07 10:54:57 2005 +0000 (2005-12-07)
parents 964d6e7eb3e5
children 25dd49641a74 eae64901e428
files tools/console/daemon/io.c
line diff
     1.1 --- a/tools/console/daemon/io.c	Wed Dec 07 10:53:47 2005 +0000
     1.2 +++ b/tools/console/daemon/io.c	Wed Dec 07 10:54:57 2005 +0000
     1.3 @@ -486,7 +486,7 @@ static void handle_tty_write(struct doma
     1.4  	len = write(dom->tty_fd, dom->buffer.data + dom->buffer.consumed,
     1.5  		    dom->buffer.size - dom->buffer.consumed);
     1.6   	if (len < 1) {
     1.7 -		dolog(LOG_DEBUG, "Write failed on domain %d: %d, %d\n",
     1.8 +		dolog(LOG_DEBUG, "Write failed on domain %d: %zd, %d\n",
     1.9  		      dom->domid, len, errno);
    1.10  
    1.11  		close(dom->tty_fd);