Added the "%s" format when simply writing a string.
[finddup.git] / finddup.c
index c0a51a1..bd77361 100644 (file)
--- 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);
       }
     }
   }