projects
/
dus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9931cb5
)
Added the "%s" format when simply writing a string.
author
Francois Fleuret
<francois@fleuret.org>
Thu, 27 Jan 2011 21:36:26 +0000
(22:36 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 27 Jan 2011 21:36:26 +0000
(22:36 +0100)
dus.c
patch
|
blob
|
history
diff --git
a/dus.c
b/dus.c
index
9d1850c
..
c698d2e
100644
(file)
--- a/
dus.c
+++ b/
dus.c
@@
-374,7
+374,7
@@
void print_sorted(struct entry_node *root, int width, int height) {
line[width] = '\n';
line[width + 1] = '\0';
}
- printf(line);
+ printf(
"%s",
line);
}
if(height >= 0 && nb_nodes > height && show_top && !forced_height) {