aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c2
-rw-r--r--shell/msh.c4
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;
}
}