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

[Xen-changelog] [xen-unstable] xentop: Fix fprintf() build failure.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1229034740 0
# Node ID 68b76ad4faf7086455a7d93b0b666cdeba24fe87
# Parent  7802a247e6f9a1541a3b3e4e76b16861b15f66ce
xentop: Fix fprintf() build failure.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/xenstat/xentop/xentop.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 7802a247e6f9 -r 68b76ad4faf7 tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Thu Dec 11 13:26:02 2008 +0000
+++ b/tools/xenstat/xentop/xentop.c     Thu Dec 11 22:32:20 2008 +0000
@@ -254,7 +254,7 @@ static void fail(const char *str)
 {
        if(cwin != NULL && !isendwin())
                endwin();
-       fprintf(stderr, str);
+       fprintf(stderr, "%s", str);
        exit(1);
 }
 

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