postgres.git / summary / log / commit / refs
commit 5c7ce2d03a7380f8049a7ba1d9336ebed144d97c
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Wed Mar 08 14:57:17 2017 +0000
pg_xlogdump: Remove extra newline in error message
fatal_error() already prints out a trailing newline.
contrib/pg_xlogdump/pg_xlogdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c
index 3206d85854a..5dae782ced9 100644
--- a/contrib/pg_xlogdump/pg_xlogdump.c
+++ b/contrib/pg_xlogdump/pg_xlogdump.c
@@ -720,7 +720,7 @@ main(int argc, char **argv)
}
if (errormsg)
- fatal_error("error in WAL record at %X/%X: %s\n",
+ fatal_error("error in WAL record at %X/%X: %s",
(uint32) (xlogreader_state->ReadRecPtr >> 32),
(uint32) xlogreader_state->ReadRecPtr,
errormsg);
[parent: 783acfd4dc9f]