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

patch contributed by Andrew Hutchings)
This commit is contained in:
Jim Winstead 2009-05-05 11:07:26 -07:00
parent ce33c94849
commit 29aba9c6d9

View File

@ -224,7 +224,7 @@ int main(int argc, char **argv)
}
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));
}