summaryrefslogtreecommitdiff
path: root/src/mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mv.c')
-rw-r--r--src/mv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mv.c b/src/mv.c
index 7b81c005f..5558b921a 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -431,8 +431,7 @@ main (int argc, char **argv)
interactive = override_mode = verbose = update = 0;
errors = 0;
- while ((c = getopt_long (argc, argv, "bfiuvS:V:", long_options, (int *) 0))
- != EOF)
+ while ((c = getopt_long (argc, argv, "bfiuvS:V:", long_options, NULL)) != -1)
{
switch (c)
{