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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1229434092 0
# Node ID 1acc683c481a9918481f0031ee1d41233d222a0e
# Parent  fc74a0e97b4bd7a6b580d06681326e56385a46a2
xentop: Fix fprintf() build failure.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   18912:68b76ad4faf7086455a7d93b0b666cdeba24fe87
xen-unstable date:        Thu Dec 11 22:32:20 2008 +0000
---
 tools/xenstat/xentop/xentop.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r fc74a0e97b4b -r 1acc683c481a tools/xenstat/xentop/xentop.c
--- a/tools/xenstat/xentop/xentop.c     Mon Dec 15 13:29:24 2008 +0000
+++ b/tools/xenstat/xentop/xentop.c     Tue Dec 16 13:28:12 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®.