summaryrefslogtreecommitdiff
path: root/src/pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwd.c')
-rw-r--r--src/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pwd.c b/src/pwd.c
index 4bac5bb10..06bbbb270 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -306,7 +306,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 (optind < argc)