diff --git a/src/bin/pg_basebackup/receivelog.c b/src/bin/pg_basebackup/receivelog.c index 2bf4df961ea6fe849efc82700a6ec809d2d6ab71..b681efc7e6b2b42bfdf55fc900c87be2b144f9f5 100644 --- a/src/bin/pg_basebackup/receivelog.c +++ b/src/bin/pg_basebackup/receivelog.c @@ -271,7 +271,7 @@ existsTimeLineHistoryFile(char *basedir, TimeLineID tli) if (fd < 0) { if (errno != ENOENT) - fprintf(stderr, _("%s: could not open timeline history file \"%s\": %s"), + fprintf(stderr, _("%s: could not open timeline history file \"%s\": %s\n"), progname, path, strerror(errno)); return false; } @@ -298,7 +298,7 @@ writeTimeLineHistoryFile(char *basedir, TimeLineID tli, char *filename, char *co TLHistoryFileName(histfname, tli); if (strcmp(histfname, filename) != 0) { - fprintf(stderr, _("%s: server reported unexpected history file name for timeline %u: %s"), + fprintf(stderr, _("%s: server reported unexpected history file name for timeline %u: %s\n"), progname, tli, filename); return false; }