summaryrefslogtreecommitdiff
path: root/tools/intel_gpu_top.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2009-04-17 19:01:04 +0100
committerEric Anholt <eric@anholt.net>2009-06-09 11:31:37 -0700
commit8c7be935443934297763af03f0b4b7fcd4999dde (patch)
tree89a1ba6b7615c9bfe47998d90b3e6b6a1e4bf4f1 /tools/intel_gpu_top.c
parent700e45a5225dbf06ada48c269d725458ceb347a6 (diff)
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 <eric@anholt.net>
Diffstat (limited to 'tools/intel_gpu_top.c')
-rw-r--r--tools/intel_gpu_top.c2
1 files changed, 1 insertions, 1 deletions
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();