From 0f51a848ab98325e497a227155648facd9d0cf9b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 1 Oct 2015 21:42:00 -0400 Subject: pg_rewind: Improve some messages The output of a typical pg_rewind run contained a mix of capitalized and not-capitalized and punctuated and not-punctuated phrases for no apparent reason. Make that consistent. Also fix some problems in other messages. --- src/bin/pg_rewind/file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/pg_rewind/file_ops.c') diff --git a/src/bin/pg_rewind/file_ops.c b/src/bin/pg_rewind/file_ops.c index c2d8aa19396..193b72e9a2a 100644 --- a/src/bin/pg_rewind/file_ops.c +++ b/src/bin/pg_rewind/file_ops.c @@ -198,7 +198,7 @@ truncate_target_file(const char *path, off_t newsize) dstpath, strerror(errno)); if (ftruncate(fd, newsize) != 0) - pg_fatal("could not truncate file \"%s\" to %u bytes: %s\n", + pg_fatal("could not truncate file \"%s\" to %u: %s\n", dstpath, (unsigned int) newsize, strerror(errno)); close(fd); -- cgit v1.2.3