From 29aba9c6d9284ff21e16c7734ce6ef9e27f780dd Mon Sep 17 00:00:00 2001 From: Jim Winstead Date: Tue, 5 May 2009 11:07:26 -0700 Subject: [PATCH] Fix incorrect filename in verbose output of innochecksum. (Bug #44484, patch contributed by Andrew Hutchings) --- extra/innochecksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/innochecksum.c b/extra/innochecksum.c index 524637a1729..9bd4bfcc0cd 100644 --- a/extra/innochecksum.c +++ b/extra/innochecksum.c @@ -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)); }