aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_checksums/pg_checksums.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_checksums/pg_checksums.c')
-rw-r--r--src/bin/pg_checksums/pg_checksums.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_checksums/pg_checksums.c b/src/bin/pg_checksums/pg_checksums.c
index b591fcc864a..8c00ec9a3b1 100644
--- a/src/bin/pg_checksums/pg_checksums.c
+++ b/src/bin/pg_checksums/pg_checksums.c
@@ -235,7 +235,7 @@ scan_file(const char *fn, BlockNumber segmentno)
/* Write block with checksum */
if (write(f, buf.data, BLCKSZ) != BLCKSZ)
{
- pg_log_error("could not update checksum of block %u in file \"%s\": %m",
+ pg_log_error("could not write block %u in file \"%s\": %m",
blockno, fn);
exit(1);
}
@@ -469,7 +469,7 @@ main(int argc, char *argv[])
/* filenode checking only works in --check mode */
if (mode != PG_MODE_CHECK && only_filenode)
{
- pg_log_error("--filenode option only possible with --check");
+ pg_log_error("option -f/--filenode can only be used with --check");
fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
progname);
exit(1);