Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit feb4d35

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_xlogdump/pg_xlogdump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ main(int argc, char **argv)
10481048
XLogDumpDisplayStats(&config, &stats);
10491049

10501050
if (errormsg)
1051-
fatal_error("error in WAL record at %X/%X: %s\n",
1051+
fatal_error("error in WAL record at %X/%X: %s",
10521052
(uint32) (xlogreader_state->ReadRecPtr >> 32),
10531053
(uint32) xlogreader_state->ReadRecPtr,
10541054
errormsg);

0 commit comments

Comments
 (0)