1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

pg_waldump: Remove extra newline in error message

fatal_error() already prints out a trailing newline.
This commit is contained in:
Peter Eisentraut
2017-03-08 09:57:17 -05:00
parent 77d21970ae
commit 911244610c

View File

@@ -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);