From e299f447aad7b0ad4db7ccd745ff224a85c4ca93 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 27 Jan 2011 22:36:26 +0100 Subject: [PATCH] Added the "%s" format when simply writing a string. --- dus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dus.c b/dus.c index 9d1850c..c698d2e 100644 --- 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) { -- 2.20.1