Commit 29aba9c6 authored by Jim Winstead's avatar Jim Winstead

Fix incorrect filename in verbose output of innochecksum. (Bug #44484,

patch contributed by Andrew Hutchings)
parent ce33c948
...@@ -224,7 +224,7 @@ int main(int argc, char **argv) ...@@ -224,7 +224,7 @@ int main(int argc, char **argv)
} }
else if (verbose) else if (verbose)
{ {
printf("file %s= %llu bytes (%lu pages)...\n", argv[1], size, pages); printf("file %s = %llu bytes (%lu pages)...\n", argv[optind], size, pages);
printf("checking pages in range %lu to %lu\n", start_page, use_end_page ? end_page : (pages - 1)); printf("checking pages in range %lu to %lu\n", start_page, use_end_page ? end_page : (pages - 1));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment