Add missing newlines at end of error messages

REL8_2_STABLE
Peter Eisentraut 14 years ago
parent a5b0d95744
commit c4222d3880
  1. 2
      src/bin/psql/command.c
  2. 2
      src/bin/psql/common.c

@ -1244,7 +1244,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("cannot locate temporary directory: %s\n",
!ret ? strerror(errno) : "");
return false;
}

@ -110,7 +110,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;

Loading…
Cancel
Save