Changed printf(a) to printf("%s", a) to avoid a warning with gcc 4.4.
authorFrancois Fleuret <francois@fleuret.org>
Sat, 13 Mar 2010 11:51:53 +0000 (12:51 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Sat, 13 Mar 2010 11:51:53 +0000 (12:51 +0100)
dus.c

diff --git a/dus.c b/dus.c
index 04a0c60..87c3954 100644 (file)
--- a/dus.c
+++ b/dus.c
@@ -100,7 +100,7 @@ void print_size_sum(size_sum_t s) {
   } else {
     *(--a) = '0';
   }
-  printf(a);
+  printf("%s", a);
 }
 
 size_sum_t file_or_dir_size(const char *name) {