summaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index acc5d35cf93..7c44faeb2c6 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -1588,7 +1588,7 @@ do_edit(const char *filename_arg, PQExpBuffer query_buf, bool *edited)
ret = GetTempPath(MAXPGPATH, tmpdir);
if (ret == 0 || ret > MAXPGPATH)
{
- psql_error("cannot locate temporary directory: %s",
+ psql_error("cannot locate temporary directory: %s\n",
!ret ? strerror(errno) : "");
return false;
}