X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dus.git;a=blobdiff_plain;f=dus.c;fp=dus.c;h=c698d2e551c35f610ad5086cd54c2ba35c816a74;hp=9d1850cc36af64df4cb615fcc54c6436b4b64cd4;hb=e299f447aad7b0ad4db7ccd745ff224a85c4ca93;hpb=9931cb5194ed160f999e4e2d107a719445e1cf07 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) {