summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
commitbf0a201008671f81c107de72c026b1b84967561d (patch)
treeaf74820b70fa27929fe218c95822c20651b60637 /shell/hush.c
parent5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff)
downloadbusybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.gz
busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2
busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.zip
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index a6e029e4e..9bc0013d7 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2269,7 +2269,7 @@ static int parse_group(o_string *dest, struct p_context *ctx,
2269 return 1; /* syntax error, groups and arglists don't mix */ 2269 return 1; /* syntax error, groups and arglists don't mix */
2270 } 2270 }
2271 initialize_context(&sub); 2271 initialize_context(&sub);
2272 switch(ch) { 2272 switch (ch) {
2273 case '(': endch=')'; child->subshell=1; break; 2273 case '(': endch=')'; child->subshell=1; break;
2274 case '{': endch='}'; break; 2274 case '{': endch='}'; break;
2275 default: syntax(); /* really logic error */ 2275 default: syntax(); /* really logic error */