aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/lash.c')
-rw-r--r--shell/lash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 525767190..52b117431 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -789,7 +789,7 @@ static int expand_arguments(char *command)
789 src = command; 789 src = command;
790 while((dst = strchr(src,'$')) != NULL){ 790 while((dst = strchr(src,'$')) != NULL){
791 var = NULL; 791 var = NULL;
792 switch(*(dst+1)) { 792 switch (*(dst+1)) {
793 case '?': 793 case '?':
794 var = itoa(last_return_code); 794 var = itoa(last_return_code);
795 break; 795 break;
@@ -1163,7 +1163,7 @@ static int pseudo_exec(struct child_prog *child)
1163 char **argv_l = child->argv; 1163 char **argv_l = child->argv;
1164 int argc_l; 1164 int argc_l;
1165 1165
1166 for(argc_l=0; *argv_l; argv_l++, argc_l++); 1166 for (argc_l=0; *argv_l; argv_l++, argc_l++);
1167 optind = 1; 1167 optind = 1;
1168 run_applet_by_name(child->argv[0], argc_l, child->argv); 1168 run_applet_by_name(child->argv[0], argc_l, child->argv);
1169 } 1169 }