Add missing newlines in pg_fatal messages
authorHeikki Linnakangas <[email protected]>
Fri, 16 Jan 2015 12:28:04 +0000 (14:28 +0200)
committerHeikki Linnakangas <[email protected]>
Fri, 16 Jan 2015 12:28:04 +0000 (14:28 +0200)
src/bin/pg_rewind/filemap.c

index 970bd6eb776810fea8b9fce73a26d0af811386c2..5324f27a427fb9f84223633e76526ccaeb59aef4 100644 (file)
@@ -103,7 +103,7 @@ process_remote_file(const char *path, file_type_t type, size_t newsize,
        if (lstat(localpath, &statbuf) < 0)
        {
                if (errno != ENOENT)
-                       pg_fatal("could not stat file \"%s\": %s",
+                       pg_fatal("could not stat file \"%s\": %s\n",
                                         localpath, strerror(errno));
 
                exists = false;
@@ -378,7 +378,7 @@ process_block_change(ForkNumber forknum, RelFileNode rnode, BlockNumber blkno)
                                break;
 
                        case FILE_ACTION_CREATE:
-                               pg_fatal("unexpected page modification for directory or symbolic link \"%s\"", entry->path);
+                               pg_fatal("unexpected page modification for directory or symbolic link \"%s\"\n", entry->path);
                }
        }
        else