summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorJoerg Bruehe <joerg@mysql.com>2009-05-29 15:20:54 +0200
committerJoerg Bruehe <joerg@mysql.com>2009-05-29 15:20:54 +0200
commitfddc198750af834cddb0818564f05b2de0c24a74 (patch)
treefbc2ed64113f752689800d9701d14381ba4e3b85 /extra
parent111ec435bac478c818dd6612d177edffc4d8fe07 (diff)
parentd4b11c09907af23eb814a8497d305fed6a9f10b5 (diff)
downloadmariadb-git-fddc198750af834cddb0818564f05b2de0c24a74.tar.gz
Merge main 5.1 into 5.1-build
Diffstat (limited to 'extra')
-rw-r--r--extra/innochecksum.c2
-rw-r--r--extra/perror.c2
2 files changed, 2 insertions, 2 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));
}
diff --git a/extra/perror.c b/extra/perror.c
index 80eb2af2dae..a98a4fc3d1b 100644
--- a/extra/perror.c
+++ b/extra/perror.c
@@ -115,7 +115,7 @@ static void usage(void)
{
print_version();
puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL license\n");
- printf("Print a description for a system error code or an error code from\na MyISAM/ISAM/BDB table handler.\n");
+ printf("Print a description for a system error code or a MySQL error code.\n");
printf("If you want to get the error for a negative error code, you should use\n-- before the first error code to tell perror that there was no more options.\n\n");
printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname);
my_print_help(my_long_options);