diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 00:37:00 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 00:37:00 +0000 |
commit | 5164792572e29b2789eac5b3716d68d64d76f49c (patch) | |
tree | d8e1e56c728628c15f66cb88a6e54f368c806939 /shell | |
parent | 0bee181cd4482af657637bc90ebe8818e77d21c1 (diff) | |
download | busybox-w32-5164792572e29b2789eac5b3716d68d64d76f49c.tar.gz busybox-w32-5164792572e29b2789eac5b3716d68d64d76f49c.tar.bz2 busybox-w32-5164792572e29b2789eac5b3716d68d64d76f49c.zip |
silly size savings and capitalization fixes
git-svn-id: svn://busybox.net/trunk/busybox@16438 69ca8d6d-28ef-0310-b511-8ec308f3f277
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) | |||
678 | 678 | ||
679 | if (!fgets(command, BUFSIZ - 2, source)) { | 679 | if (!fgets(command, BUFSIZ - 2, source)) { |
680 | if (source == stdin) | 680 | if (source == stdin) |
681 | printf("\n"); | 681 | puts(""); |
682 | return 1; | 682 | return 1; |
683 | } | 683 | } |
684 | 684 | ||
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) | |||
3250 | continue; | 3250 | continue; |
3251 | col += printf("%s%s", ((col == 0) ? "\t" : " "), x->name); | 3251 | col += printf("%s%s", ((col == 0) ? "\t" : " "), x->name); |
3252 | if (col > 60) { | 3252 | if (col > 60) { |
3253 | printf("\n"); | 3253 | puts(""); |
3254 | col = 0; | 3254 | col = 0; |
3255 | } | 3255 | } |
3256 | } | 3256 | } |
@@ -3267,7 +3267,7 @@ static int dohelp(struct op *t) | |||
3267 | 3267 | ||
3268 | col += printf("%s%s", ((col == 0) ? "\t" : " "), applet->name); | 3268 | col += printf("%s%s", ((col == 0) ? "\t" : " "), applet->name); |
3269 | if (col > 60) { | 3269 | if (col > 60) { |
3270 | printf("\n"); | 3270 | puts(""); |
3271 | col = 0; | 3271 | col = 0; |
3272 | } | 3272 | } |
3273 | } | 3273 | } |