mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Add missing newlines at end of error messages
This commit is contained in:
parent
ce8d7bb644
commit
e67efb01e8
@ -1855,7 +1855,7 @@ do_edit(const char *filename_arg, PQExpBuffer query_buf,
|
|||||||
ret = GetTempPath(MAXPGPATH, tmpdir);
|
ret = GetTempPath(MAXPGPATH, tmpdir);
|
||||||
if (ret == 0 || ret > MAXPGPATH)
|
if (ret == 0 || ret > MAXPGPATH)
|
||||||
{
|
{
|
||||||
psql_error("cannot locate temporary directory: %s",
|
psql_error("could not locate temporary directory: %s\n",
|
||||||
!ret ? strerror(errno) : "");
|
!ret ? strerror(errno) : "");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,7 @@ pg_calloc(size_t nmemb, size_t size)
|
|||||||
tmp = calloc(nmemb, size);
|
tmp = calloc(nmemb, size);
|
||||||
if (!tmp)
|
if (!tmp)
|
||||||
{
|
{
|
||||||
psql_error("out of memory");
|
psql_error("out of memory\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
return tmp;
|
return tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user