diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-20 07:36:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-20 08:50:59 +0200 |
commit | 48842b9b2510baa744561c36d3fcb0034a9f389e (patch) | |
tree | 7d48a479a0bb75067886654e041ff2dffac610f1 | |
parent | dadcac8b382cd912199530f6e5920c7232f7ae1f (diff) | |
download | barebox-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>
-rw-r--r-- | arch/sandbox/os/common.c | 12 |
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; } } |