From: Ben Gras Date: Mon, 4 Feb 2013 04:09:28 +0000 (+0100) Subject: umount: getopt return value is int, not char X-Git-Tag: v3.2.1~30 X-Git-Url: http://zhaoyanbai.com/repos/readme1st.txt?a=commitdiff_plain;h=ccdc3ff73fa4ee578ffec591cd971d81c732f5ab;p=minix.git umount: getopt return value is int, not char . causes infinite loop on ARM (default unsigned char?) Change-Id: If00184f37317c8597a8203f68ec96f1ce5030853 --- diff --git a/commands/umount/umount.c b/commands/umount/umount.c index b65921631..6ec9e2da5 100644 --- a/commands/umount/umount.c +++ b/commands/umount/umount.c @@ -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)