summaryrefslogtreecommitdiff
path: root/src/cksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cksum.c')
-rw-r--r--src/cksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cksum.c b/src/cksum.c
index 6cf47619d..8f0d86ba9 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -298,7 +298,7 @@ main (int argc, char **argv)
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
- if (getopt (argc, argv, "") != -1)
+ if (getopt_long (argc, argv, "", NULL, NULL) != -1)
usage (EXIT_FAILURE);
have_read_stdin = false;