projects
/
finddup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069e440
)
Added the "%s" format when simply writing a string.
author
Francois Fleuret
<francois@fleuret.org>
Thu, 27 Jan 2011 21:28:57 +0000
(22:28 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 27 Jan 2011 21:28:57 +0000
(22:28 +0100)
finddup.c
patch
|
blob
|
history
diff --git
a/finddup.c
b/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);
}
}
}