Commit e67efb01 authored by Peter Eisentraut's avatar Peter Eisentraut

Add missing newlines at end of error messages

parent ce8d7bb6
......@@ -1855,7 +1855,7 @@ do_edit(const char *filename_arg, PQExpBuffer query_buf,
ret = GetTempPath(MAXPGPATH, tmpdir);
if (ret == 0 || ret > MAXPGPATH)
{
psql_error("cannot locate temporary directory: %s",
psql_error("could not locate temporary directory: %s\n",
!ret ? strerror(errno) : "");
return false;
}
......
......@@ -87,7 +87,7 @@ pg_calloc(size_t nmemb, size_t size)
tmp = calloc(nmemb, size);
if (!tmp)
{
psql_error("out of memory");
psql_error("out of memory\n");
exit(EXIT_FAILURE);
}
return tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment