From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH] Trivial build break Date: Mon, 24 Sep 2007 08:32:06 -0600 Message-ID: <1190644326.6328.5.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org I'm surprised this hasn't been fixed yet. x86_64 & ia64 currently fail to build the staging tree. Thanks, Alex Signed-off-by: Alex Williamson --- diff -r e73ea74cba30 tools/xentrace/xentrace.c --- a/tools/xentrace/xentrace.c Mon Sep 24 13:45:57 2007 +0100 +++ b/tools/xentrace/xentrace.c Mon Sep 24 08:20:32 2007 -0600 @@ -121,7 +121,7 @@ void write_buffer(unsigned int cpu, unsi if ( written != sizeof(rec) ) { - fprintf(stderr, "Cannot write cpu change (write returned %d)\n", + fprintf(stderr, "Cannot write cpu change (write returned %ld)\n", written); goto fail; } @@ -130,7 +130,7 @@ void write_buffer(unsigned int cpu, unsi written = write(outfd, start, size); if ( written != size ) { - fprintf(stderr, "Write failed! (size %d, returned %d)\n", + fprintf(stderr, "Write failed! (size %d, returned %ld)\n", size, written); goto fail; }