From: Francois Fleuret Date: Sat, 13 Mar 2010 11:51:53 +0000 (+0100) Subject: Changed printf(a) to printf("%s", a) to avoid a warning with gcc 4.4. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a762e50821d32e7ff120f365989dfa8af54cd3f;p=dus.git Changed printf(a) to printf("%s", a) to avoid a warning with gcc 4.4. --- diff --git a/dus.c b/dus.c index 04a0c60..87c3954 100644 --- 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) {