summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/os
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-09-20 07:36:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-09-20 08:50:59 +0200
commit48842b9b2510baa744561c36d3fcb0034a9f389e (patch)
tree7d48a479a0bb75067886654e041ff2dffac610f1 /arch/sandbox/os
parentdadcac8b382cd912199530f6e5920c7232f7ae1f (diff)
downloadbarebox-48842b9b2510baa744561c36d3fcb0034a9f389e.tar.gz
barebox-48842b9b2510baa744561c36d3fcb0034a9f389e.tar.xz
sandbox: check only image option in the second getopt
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/os')
-rw-r--r--arch/sandbox/os/common.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/sandbox/os/common.c b/arch/sandbox/os/common.c
index e296574c93..38c6596195 100644
--- a/arch/sandbox/os/common.c
+++ b/arch/sandbox/os/common.c
@@ -355,10 +355,6 @@ int main(int argc, char *argv[])
break;
switch (opt) {
- case 'h':
- break;
- case 'm':
- break;
case 'i':
sprintf(str, "fd%d", fdno);
ret = add_image(optarg, str);
@@ -366,14 +362,8 @@ int main(int argc, char *argv[])
exit(1);
fdno++;
break;
- case 'e':
- break;
- case 'O':
- break;
- case 'I':
- break;
default:
- exit(1);
+ break;
}
}