From: Peter Eisentraut Date: Wed, 8 Mar 2017 14:57:17 +0000 (-0500) Subject: pg_xlogdump: Remove extra newline in error message X-Git-Tag: REL9_4_12~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9420ea88f95de86114f70460e7c86638330e7155;p=postgresql pg_xlogdump: Remove extra newline in error message fatal_error() already prints out a trailing newline. --- diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c index 499c855785..c1d79952a1 100644 --- a/contrib/pg_xlogdump/pg_xlogdump.c +++ b/contrib/pg_xlogdump/pg_xlogdump.c @@ -744,7 +744,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);