From 5164792572e29b2789eac5b3716d68d64d76f49c Mon Sep 17 00:00:00 2001 From: vda Date: Thu, 26 Oct 2006 00:37:00 +0000 Subject: silly size savings and capitalization fixes git-svn-id: svn://busybox.net/trunk/busybox@16438 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/lash.c | 2 +- shell/msh.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'shell') 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; } } -- cgit v1.2.3-55-g6feb