pg_rewind: Add missing newline to error message
authorPeter Eisentraut
Sat, 29 Dec 2018 12:02:51 +0000 (13:02 +0100)
committerPeter Eisentraut
Sat, 29 Dec 2018 12:03:22 +0000 (13:03 +0100)
src/bin/pg_rewind/pg_rewind.c

index 4bd1a759734958f3c2136ef68bb107653abb351d..08528dca3f876996a087d22d1c60341802b0a76e 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);