]> granicus.if.org Git - postgresql/commitdiff
pg_rewind: Add missing newline to error message
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 29 Dec 2018 12:02:51 +0000 (13:02 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 29 Dec 2018 12:03:28 +0000 (13:03 +0100)
src/bin/pg_rewind/pg_rewind.c

index dd62dd05491a5afda45aeebdb66cd52fceded221..ce1765d0d14e20b1c6a6d07dfe0615dc8499a3bf 100644 (file)
@@ -466,7 +466,7 @@ getTimelineHistory(ControlFileData *controlFile, int *nentries)
                else if (controlFile == &ControlFile_target)
                        histfile = slurpFile(datadir_target, path, NULL);
                else
-                       pg_fatal("invalid control file");
+                       pg_fatal("invalid control file\n");
 
                history = rewind_parseTimeLineHistory(histfile, tli, nentries);
                pg_free(histfile);