aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-26 10:42:51 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-26 10:42:51 +0000
commit52f326a239527e7242321661d2ba06b50daa3c43 (patch)
treeaf74820b70fa27929fe218c95822c20651b60637 /shell/lash.c
parentda5e86c349488f3ea31718b149ce9f0d1493b64b (diff)
downloadbusybox-w32-52f326a239527e7242321661d2ba06b50daa3c43.tar.gz
busybox-w32-52f326a239527e7242321661d2ba06b50daa3c43.tar.bz2
busybox-w32-52f326a239527e7242321661d2ba06b50daa3c43.zip
style fixes
last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 }