Skip to content

Commit e67efb0

Browse files
committed
Add missing newlines at end of error messages
1 parent ce8d7bb commit e67efb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/psql/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ do_edit(const char *filename_arg, PQExpBuffer query_buf,
18551855
ret = GetTempPath(MAXPGPATH, tmpdir);
18561856
if (ret == 0 || ret > MAXPGPATH)
18571857
{
1858-
psql_error("cannot locate temporary directory: %s",
1858+
psql_error("could not locate temporary directory: %s\n",
18591859
!ret ? strerror(errno) : "");
18601860
return false;
18611861
}

src/bin/psql/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pg_calloc(size_t nmemb, size_t size)
8787
tmp = calloc(nmemb, size);
8888
if (!tmp)
8989
{
90-
psql_error("out of memory");
90+
psql_error("out of memory\n");
9191
exit(EXIT_FAILURE);
9292
}
9393
return tmp;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy