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 <alex.williamson@xxxxxx>
---
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;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|