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

[Xen-changelog] [xen-unstable] Fix xentrace build.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1190644149 -3600
# Node ID 94e3684d0e8149c003cd7b0c74ef0055353fcede
# Parent  117b36e95de9327dd437b4a407338f106509711d
Fix xentrace build.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/xentrace/xentrace.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 117b36e95de9 -r 94e3684d0e81 tools/xentrace/xentrace.c
--- a/tools/xentrace/xentrace.c Mon Sep 24 14:04:36 2007 +0100
+++ b/tools/xentrace/xentrace.c Mon Sep 24 15:29:09 2007 +0100
@@ -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 %zd)\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 %zd)\n",
                 size, written);
         goto fail;
     }

_______________________________________________
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®.