From 911244610cd08fcdc28bd57db4a0d810cffc5080 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 8 Mar 2017 09:57:17 -0500 Subject: [PATCH] pg_waldump: Remove extra newline in error message fatal_error() already prints out a trailing newline. --- src/bin/pg_waldump/pg_waldump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_waldump/pg_waldump.c b/src/bin/pg_waldump/pg_waldump.c index f4bfacfe87..bfe44b8a69 100644 --- a/src/bin/pg_waldump/pg_waldump.c +++ b/src/bin/pg_waldump/pg_waldump.c @@ -1059,7 +1059,7 @@ main(int argc, char **argv) XLogDumpDisplayStats(&config, &stats); 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); -- 2.40.0