diff options
Diffstat (limited to 'src/head.c')
-rw-r--r-- | src/head.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/head.c b/src/head.c index 52aae62a0..aba3d5cc0 100644 --- a/src/head.c +++ b/src/head.c @@ -317,8 +317,7 @@ main (int argc, char **argv) argc--; } - while ((c = getopt_long (argc, argv, "c:n:qv", long_options, (int *) 0)) - != EOF) + while ((c = getopt_long (argc, argv, "c:n:qv", long_options, NULL)) != -1) { switch (c) { |