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

Commit 9112446

Browse files
committed
pg_waldump: Remove extra newline in error message
fatal_error() already prints out a trailing newline.
1 parent 77d2197 commit 9112446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_waldump/pg_waldump.c

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

10611061
if (errormsg)
1062-
fatal_error("error in WAL record at %X/%X: %s\n",
1062+
fatal_error("error in WAL record at %X/%X: %s",
10631063
(uint32) (xlogreader_state->ReadRecPtr >> 32),
10641064
(uint32) xlogreader_state->ReadRecPtr,
10651065
errormsg);

0 commit comments

Comments
 (0)