All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@hp.com>
To: Keir Fraser <keir@xensource.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] Trivial build break
Date: Mon, 24 Sep 2007 08:32:06 -0600	[thread overview]
Message-ID: <1190644326.6328.5.camel@lappy> (raw)


   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@hp.com>
---


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;
     }

                 reply	other threads:[~2007-09-24 14:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1190644326.6328.5.camel@lappy \
    --to=alex.williamson@hp.com \
    --cc=keir@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.