Skip to content

Commit 5c7ce2d

Browse files
committed
pg_xlogdump: Remove extra newline in error message
fatal_error() already prints out a trailing newline.
1 parent 783acfd commit 5c7ce2d

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
@@ -720,7 +720,7 @@ main(int argc, char **argv)
720720
}
721721

722722
if (errormsg)
723-
fatal_error("error in WAL record at %X/%X: %s\n",
723+
fatal_error("error in WAL record at %X/%X: %s",
724724
(uint32) (xlogreader_state->ReadRecPtr >> 32),
725725
(uint32) xlogreader_state->ReadRecPtr,
726726
errormsg);

0 commit comments

Comments
 (0)