aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/xentop/xentop.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenstat/xentop/xentop.c')
-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);
}