diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2015-10-01 21:42:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2015-10-01 21:52:46 -0400 |
commit | 0f51a848ab98325e497a227155648facd9d0cf9b (patch) | |
tree | 864d405b5691547698957bf02e0ac31add8fb4d3 /src/bin/pg_rewind/file_ops.c | |
parent | 867bc6849f141e17cd4d3b416f48cc46839f2d76 (diff) | |
download | postgresql-0f51a848ab98325e497a227155648facd9d0cf9b.tar.gz postgresql-0f51a848ab98325e497a227155648facd9d0cf9b.zip |
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.
Diffstat (limited to 'src/bin/pg_rewind/file_ops.c')
-rw-r--r-- | src/bin/pg_rewind/file_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |