aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_directory.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-06-18 23:57:00 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-06-18 23:57:38 +0300
commit2610cb3f7cb3227a520b60de37c74e1f99259c3c (patch)
treeff4aa216a319da8401911cb7e0e5853b713dd885 /src/bin/pg_dump/pg_backup_directory.c
parent03132da3b65eb44e65fe26267b73c101d6a2113a (diff)
downloadpostgresql-2610cb3f7cb3227a520b60de37c74e1f99259c3c.tar.gz
postgresql-2610cb3f7cb3227a520b60de37c74e1f99259c3c.zip
pg_dump: Add missing newlines at end of messages
Diffstat (limited to 'src/bin/pg_dump/pg_backup_directory.c')
-rw-r--r--src/bin/pg_dump/pg_backup_directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_backup_directory.c b/src/bin/pg_dump/pg_backup_directory.c
index 32dcb12fdf8..796444421fb 100644
--- a/src/bin/pg_dump/pg_backup_directory.c
+++ b/src/bin/pg_dump/pg_backup_directory.c
@@ -652,7 +652,7 @@ createDirectory(const char *dir)
* between our two calls.
*/
if (mkdir(dir, 0700) < 0)
- exit_horribly(modulename, "could not create directory %s: %s",
+ exit_horribly(modulename, "could not create directory %s: %s\n",
dir, strerror(errno));
}
@@ -667,7 +667,7 @@ prependDirectory(ArchiveHandle *AH, const char *relativeFilename)
dname = ctx->directory;
if (strlen(dname) + 1 + strlen(relativeFilename) + 1 > MAXPGPATH)
- exit_horribly(modulename, "file name too long: \"%s\"", dname);
+ exit_horribly(modulename, "file name too long: \"%s\"\n", dname);
strcpy(buf, dname);
strcat(buf, "/");