From bf0a201008671f81c107de72c026b1b84967561d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 26 Dec 2006 10:42:51 +0000 Subject: style fixes last xcalloc replaced by xzalloc --- shell/lash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/lash.c') 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) src = command; while((dst = strchr(src,'$')) != NULL){ var = NULL; - switch(*(dst+1)) { + switch (*(dst+1)) { case '?': var = itoa(last_return_code); break; @@ -1163,7 +1163,7 @@ static int pseudo_exec(struct child_prog *child) char **argv_l = child->argv; int argc_l; - for(argc_l=0; *argv_l; argv_l++, argc_l++); + for (argc_l=0; *argv_l; argv_l++, argc_l++); optind = 1; run_applet_by_name(child->argv[0], argc_l, child->argv); } -- cgit v1.2.3