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] [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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix xentrace build., Xen patchbot-unstable <=