diff options
Diffstat (limited to 'src/bin/pg_combinebackup/write_manifest.c')
-rw-r--r-- | src/bin/pg_combinebackup/write_manifest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_combinebackup/write_manifest.c b/src/bin/pg_combinebackup/write_manifest.c index 7a2065e1db7..369d6d2071c 100644 --- a/src/bin/pg_combinebackup/write_manifest.c +++ b/src/bin/pg_combinebackup/write_manifest.c @@ -184,7 +184,7 @@ finalize_manifest(manifest_writer *mwriter, /* Close the file. */ if (close(mwriter->fd) != 0) - pg_fatal("could not close \"%s\": %m", mwriter->pathname); + pg_fatal("could not close file \"%s\": %m", mwriter->pathname); mwriter->fd = -1; } @@ -257,9 +257,9 @@ flush_manifest(manifest_writer *mwriter) if (wb != mwriter->buf.len) { if (wb < 0) - pg_fatal("could not write \"%s\": %m", mwriter->pathname); + pg_fatal("could not write file \"%s\": %m", mwriter->pathname); else - pg_fatal("could not write file \"%s\": wrote only %d of %d bytes", + pg_fatal("could not write file \"%s\": wrote %d of %d", mwriter->pathname, (int) wb, mwriter->buf.len); } |