summaryrefslogtreecommitdiff
path: root/src/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirname.c')
-rw-r--r--src/dirname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirname.c b/src/dirname.c
index 40a9b29ce..5c9ab9ef7 100644
--- a/src/dirname.c
+++ b/src/dirname.c
@@ -78,7 +78,7 @@ main (int argc, char **argv)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
- if (getopt (argc, argv, "+") != -1)
+ if (getopt_long (argc, argv, "+", NULL, NULL) != -1)
usage (EXIT_FAILURE);
if (argc < optind + 1)