From c366c5d87f5158be7ff886d097ccb8ef8c1c92fe Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 26 Jul 2011 23:23:59 +0300 Subject: Add missing newlines at end of error messages --- src/bin/psql/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/psql/command.c') diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 098c31a4729..1339f336ff0 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -1539,7 +1539,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; } -- cgit v1.2.3