Skip to content

Commit 9420ea8

Browse files
committed
pg_xlogdump: Remove extra newline in error message
fatal_error() already prints out a trailing newline.
1 parent db9b4b7 commit 9420ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_xlogdump/pg_xlogdump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ main(int argc, char **argv)
744744
}
745745

746746
if (errormsg)
747-
fatal_error("error in WAL record at %X/%X: %s\n",
747+
fatal_error("error in WAL record at %X/%X: %s",
748748
(uint32) (xlogreader_state->ReadRecPtr >> 32),
749749
(uint32) xlogreader_state->ReadRecPtr,
750750
errormsg);

0 commit comments

Comments
 (0)