9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-09-20 07:36:41 +02:00 committed by Sascha Hauer
parent dadcac8b38
commit 48842b9b25
1 changed files with 1 additions and 11 deletions

View File

@ -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;
}
}