summaryrefslogtreecommitdiffstats
path: root/sbin/umount/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/umount/umount.c')
-rw-r--r--sbin/umount/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index ad64d53..8945a66 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -87,7 +87,7 @@ main(argc, argv)
sync();
all = 0;
- while ((ch = getopt(argc, argv, "aFfh:t:v")) != EOF)
+ while ((ch = getopt(argc, argv, "aFfh:t:v")) != -1)
switch (ch) {
case 'a':
all = 1;
OpenPOWER on IntegriCloud