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