aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-12-11 22:32:20 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-12-11 22:32:20 +0000
commit050404c847da62817a4a3bf1129804ca0851d9dd (patch)
tree3a44e70b817d4eb6a6f39c078403cfc76bf07106 /tools/xenstat
parent20553adcd9157010e708488b8b74af8cc135096a (diff)
downloadxen-050404c847da62817a4a3bf1129804ca0851d9dd.tar.gz
xen-050404c847da62817a4a3bf1129804ca0851d9dd.tar.bz2
xen-050404c847da62817a4a3bf1129804ca0851d9dd.zip
xentop: Fix fprintf() build failure.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/xenstat')
-rw-r--r--tools/xenstat/xentop/xentop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c
index da2df45bb0..0bbedfef77 100644
--- a/tools/xenstat/xentop/xentop.c
+++ b/tools/xenstat/xentop/xentop.c
@@ -254,7 +254,7 @@ static void fail(const char *str)
{
if(cwin != NULL && !isendwin())
endwin();
- fprintf(stderr, str);
+ fprintf(stderr, "%s", str);
exit(1);
}