umount: getopt return value is int, not char
. causes infinite loop on ARM (default unsigned char?) Change-Id: If00184f37317c8597a8203f68ec96f1ce5030853
This commit is contained in:
parent
8ea66915f2
commit
ccdc3ff73f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ char *argv[];
|
|||
{
|
||||
int found;
|
||||
int umount_flags = 0UL;
|
||||
char c;
|
||||
int c;
|
||||
char *name;
|
||||
|
||||
while ((c = getopt (argc, argv, "e")) != -1)
|
||||
|
|
Loading…
Reference in a new issue