summaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-23 17:06:01 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-23 17:06:01 +0000
commit82ab8da24595fced332faf947cc63497216b09db (patch)
treee71839ff4cf773723aee9b96cd8876c224b577fa /shell/lash.c
parent8ffaf8d139a51b33497a3e80804d7bf1f60875e6 (diff)
downloadbusybox-w32-82ab8da24595fced332faf947cc63497216b09db.tar.gz
busybox-w32-82ab8da24595fced332faf947cc63497216b09db.tar.bz2
busybox-w32-82ab8da24595fced332faf947cc63497216b09db.zip
-Wshadow sh fix from Jeff Garzik
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 5a59c018a..e33fd369c 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1560,9 +1560,9 @@ static int pseudo_exec(struct child_prog *child)
1560#endif 1560#endif
1561 1561
1562 { 1562 {
1563 char** argv=child->argv; 1563 char** argv_l=child->argv;
1564 int argc_l; 1564 int argc_l;
1565 for(argc_l=0;*argv!=NULL; argv++, argc_l++); 1565 for(argc_l=0;*argv_l!=NULL; argv_l++, argc_l++);
1566 optind = 1; 1566 optind = 1;
1567 run_applet_by_name(name, argc_l, child->argv); 1567 run_applet_by_name(name, argc_l, child->argv);
1568 } 1568 }