summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorJim Winstead <jimw@mysql.com>2009-05-05 11:07:26 -0700
committerJim Winstead <jimw@mysql.com>2009-05-05 11:07:26 -0700
commit84c5ba6ece069ec8874c0efec44cd2bd425bc534 (patch)
tree3e44d9867090c05482bc64b7474b4aa24de7764c /extra
parent3636eab703213bde361dbd0040c205c21ee540b4 (diff)
downloadmariadb-git-84c5ba6ece069ec8874c0efec44cd2bd425bc534.tar.gz
Fix incorrect filename in verbose output of innochecksum. (Bug #44484,
patch contributed by Andrew Hutchings)
Diffstat (limited to 'extra')
-rw-r--r--extra/innochecksum.c2
1 files changed, 1 insertions, 1 deletions
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));
}