summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c2
-rw-r--r--coreutils/sum.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index f34e83e..40e9228 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -485,7 +485,7 @@ static void showdirs(struct dnode **dn, int ndirs, int first)
for (i = 0; i < ndirs; i++) {
if (all_fmt & (DISP_DIRNAME | DISP_RECURSIVE)) {
if (!first)
- printf("\n");
+ puts("");
first = 0;
printf("%s:\n", dn[i]->fullname);
}
diff --git a/coreutils/sum.c b/coreutils/sum.c
index 61ca582..d663e34 100644
--- a/coreutils/sum.c
+++ b/coreutils/sum.c
@@ -65,7 +65,7 @@ static int bsd_sum_file(const char *file, int print_name)
if (print_name > 1)
puts(file);
else
- printf("\n");
+ puts("");
out:
return ret;
}