projects
/
dus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
596b554
)
Fixed a bug in the arguments of raw_print and fancy_print.
author
Francois Fleuret
<francois@fleuret.org>
Sat, 27 Feb 2010 10:14:18 +0000
(11:14 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 27 Feb 2010 10:14:18 +0000
(11:14 +0100)
dus.c
patch
|
blob
|
history
diff --git
a/dus.c
b/dus.c
index
d1fe1fb
..
f67dcea
100644
(file)
--- a/
dus.c
+++ b/
dus.c
@@
-187,7
+187,7
@@
int compare_files(const void *x1, const void *x2) {
}
}
-void raw_print(char *buffer, char *filename,
size
_t size) {
+void raw_print(char *buffer, char *filename,
size_sum
_t size) {
char *a, *b, *c, u;
b = buffer;
@@
-213,7
+213,7
@@
void raw_print(char *buffer, char *filename, size_t size) {
sprintf(b, " %s\n", filename);
}
-void fancy_print(char *buffer, char *filename, size_t size) {
+void fancy_print(char *buffer, char *filename, size_
sum_
t size) {
if(size < 1024) {
sprintf(buffer,
"% 7d %s\n",