From a00231e4ace972a4165e6774004d896b971b97c4 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 1 Feb 2011 21:30:39 +0100 Subject: [PATCH] Fixed a % printing bug. --- finddup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finddup.c b/finddup.c index bd77361..7dc2aba 100644 --- a/finddup.c +++ b/finddup.c @@ -457,7 +457,7 @@ void print_progress(struct progress_state *state) { } /* We need four % because of the fprintf that follows */ - sprintf(s, " [%3d%%%%]\r", + sprintf(s, " [%3d%%]\r", (100 * state->value) / normalizer); fprintf(stderr, "%s", buffer); -- 2.20.1