From 03d94f9323e6bcf0206106036dcda7ed9eac5b0c Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 27 Jan 2011 22:28:57 +0100 Subject: [PATCH] Added the "%s" format when simply writing a string. --- finddup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finddup.c b/finddup.c index c0a51a1..bd77361 100644 --- a/finddup.c +++ b/finddup.c @@ -460,7 +460,7 @@ void print_progress(struct progress_state *state) { sprintf(s, " [%3d%%%%]\r", (100 * state->value) / normalizer); - fprintf(stderr, buffer); + fprintf(stderr, "%s", buffer); } } } -- 2.20.1