umount: getopt return value is int, not char

. causes infinite loop on ARM (default unsigned char?)

Change-Id: If00184f37317c8597a8203f68ec96f1ce5030853
This commit is contained in:
Ben Gras 2013-02-04 05:09:28 +01:00
parent 8ea66915f2
commit ccdc3ff73f

View file

@ -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)