summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils/hexdump.c')
-rw-r--r--text-utils/hexdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c
index d5b9992e0..47853a882 100644
--- a/text-utils/hexdump.c
+++ b/text-utils/hexdump.c
@@ -64,7 +64,7 @@ int main(int argc, char **argv)
atexit(close_stdout);
if (!(c = strrchr(argv[0], 'o')) || strcmp(c, "od")) {
- newsyntax(argc, &argv);
+ argv += newsyntax(argc, argv);
} else
errx(EXIT_FAILURE, _("calling hexdump as od has been deprecated "
"in favour to GNU coreutils od."));