projects
/
finddup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d94f9
)
Fixed a % printing bug.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 1 Feb 2011 20:30:39 +0000
(21:30 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 1 Feb 2011 20:30:39 +0000
(21:30 +0100)
finddup.c
patch
|
blob
|
history
diff --git
a/finddup.c
b/finddup.c
index
bd77361
..
7dc2aba
100644
(file)
--- 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);