From 8c7be935443934297763af03f0b4b7fcd4999dde Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Fri, 17 Apr 2009 19:01:04 +0100 Subject: [PATCH] A pedantic addition of a format string to a printf call The printf used to clear the screen didn't have a format string, this adds one to avoid a compiler warning. Signed-off-by: Eric Anholt --- tools/intel_gpu_top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c index 4e0d545b..5374e223 100644 --- a/tools/intel_gpu_top.c +++ b/tools/intel_gpu_top.c @@ -313,7 +313,7 @@ int main(int argc, char **argv) qsort(top_bits_sorted, num_top_bits, sizeof(struct top_bit *), top_bits_sort); - printf(clear_screen); + printf("%s", clear_screen); print_clock_info();