summaryrefslogtreecommitdiff
path: root/src/printenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/printenv.c')
-rw-r--r--src/printenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printenv.c b/src/printenv.c
index b91e2979c..b006b5d32 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -91,7 +91,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 (PRINTENV_FAILURE);
if (optind >= argc)