diff options
Diffstat (limited to 'src/pathchk.c')
-rw-r--r-- | src/pathchk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index c8346148e..db8e23496 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -124,7 +124,7 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - while ((optc = getopt_long (argc, argv, "p", longopts, (int *) 0)) != EOF) + while ((optc = getopt_long (argc, argv, "p", longopts, NULL)) != -1) { switch (optc) { |