summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-26 00:37:00 +0000
committerDenis Vlasenko2006-10-26 00:37:00 +0000
commitc6f188def8c5496dbd65c9be6ca3050286db7227 (patch)
treed8e1e56c728628c15f66cb88a6e54f368c806939 /coreutils
parente63a0dee9e559110bcaec494ae5e7fc78c4141c7 (diff)
downloadbusybox-c6f188def8c5496dbd65c9be6ca3050286db7227.zip
busybox-c6f188def8c5496dbd65c9be6ca3050286db7227.tar.gz
silly size savings and capitalization fixes
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;
}