diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 00:37:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 00:37:00 +0000 |
commit | c6f188def8c5496dbd65c9be6ca3050286db7227 (patch) | |
tree | d8e1e56c728628c15f66cb88a6e54f368c806939 /shell | |
parent | e63a0dee9e559110bcaec494ae5e7fc78c4141c7 (diff) |
silly size savings and capitalization fixes
Diffstat (limited to 'shell')
-rw-r--r-- | shell/lash.c | 2 | ||||
-rw-r--r-- | shell/msh.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/lash.c b/shell/lash.c index c499612cc..96c0b3007 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -678,7 +678,7 @@ static int get_command(FILE * source, char *command) if (!fgets(command, BUFSIZ - 2, source)) { if (source == stdin) - printf("\n"); + puts(""); return 1; } diff --git a/shell/msh.c b/shell/msh.c index cb2947137..95b4244d7 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -3250,7 +3250,7 @@ static int dohelp(struct op *t) continue; col += printf("%s%s", ((col == 0) ? "\t" : " "), x->name); if (col > 60) { - printf("\n"); + puts(""); col = 0; } } @@ -3267,7 +3267,7 @@ static int dohelp(struct op *t) col += printf("%s%s", ((col == 0) ? "\t" : " "), applet->name); if (col > 60) { - printf("\n"); + puts(""); col = 0; } } |