summaryrefslogtreecommitdiff
path: root/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lash.c')
-rw-r--r--lash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lash.c b/lash.c
index 5a59c01..e33fd36 100644
--- a/lash.c
+++ b/lash.c
@@ -1560,9 +1560,9 @@ static int pseudo_exec(struct child_prog *child)
#endif
{
- char** argv=child->argv;
+ char** argv_l=child->argv;
int argc_l;
- for(argc_l=0;*argv!=NULL; argv++, argc_l++);
+ for(argc_l=0;*argv_l!=NULL; argv_l++, argc_l++);
optind = 1;
run_applet_by_name(name, argc_l, child->argv);
}