diff options
Diffstat (limited to 'src/bin/pg_rewind/filemap.c')
-rw-r--r-- | src/bin/pg_rewind/filemap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_rewind/filemap.c b/src/bin/pg_rewind/filemap.c index 3821e9c8465..05eff68185e 100644 --- a/src/bin/pg_rewind/filemap.c +++ b/src/bin/pg_rewind/filemap.c @@ -93,7 +93,7 @@ process_source_file(const char *path, file_type_t type, size_t newsize, * regular file */ if (type != FILE_TYPE_REGULAR && isRelDataFile(path)) - pg_fatal("data file in source \"%s\" is not a regular file\n", path); + pg_fatal("data file \"%s\" in source is not a regular file\n", path); snprintf(localpath, sizeof(localpath), "%s/%s", datadir_target, path); @@ -256,7 +256,7 @@ process_target_file(const char *path, file_type_t type, size_t oldsize, if (lstat(localpath, &statbuf) < 0) { if (errno != ENOENT) - pg_fatal("could not stat file \"%s\": %s", + pg_fatal("could not stat file \"%s\": %s\n", localpath, strerror(errno)); exists = false; |