aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/compress_gzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_dump/compress_gzip.c')
-rw-r--r--src/bin/pg_dump/compress_gzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/compress_gzip.c b/src/bin/pg_dump/compress_gzip.c
index c768a117509..26768b9f71a 100644
--- a/src/bin/pg_dump/compress_gzip.c
+++ b/src/bin/pg_dump/compress_gzip.c
@@ -292,7 +292,7 @@ Gzip_getc(CompressFileHandle *CFH)
if (ret == EOF)
{
if (!gzeof(gzfp))
- pg_fatal("could not read from input file: %s", strerror(errno));
+ pg_fatal("could not read from input file: %m");
else
pg_fatal("could not read from input file: end of file");
}