summaryrefslogtreecommitdiffstats
path: root/mount/lomount.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/lomount.c')
-rw-r--r--mount/lomount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/lomount.c b/mount/lomount.c
index 26e895018..70a8ff0ab 100644
--- a/mount/lomount.c
+++ b/mount/lomount.c
@@ -399,7 +399,7 @@ main(int argc, char **argv) {
delete = off = 0;
offset = encryption = NULL;
progname = argv[0];
- while ((c = getopt(argc,argv,"de:o:v")) != EOF) {
+ while ((c = getopt(argc,argv,"de:o:v")) != -1) {
switch (c) {
case 'd':
delete = 1;