diff options
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index 9f25fcbe7..29c859dbc 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -183,7 +183,7 @@ main (int argc, char *argv[]) else program_name = argv[0]; - while ((c = getopt_long (argc, argv, "ahp:svV", longopts, NULL)) != EOF) + while ((c = getopt_long (argc, argv, "ahp:svV", longopts, NULL)) != -1) switch (c) { case 'a': /* all */ |