diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-02-20 02:37:40 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-02-20 02:37:40 +0000 |
| commit | e79b2dd5e7316c54c69a6d599d07b6bdf22e1d8b (patch) | |
| tree | d81096c139807398cf2ed9f090a15beafb75bf62 /src/bin/psql/mainloop.c | |
| parent | bf023bd1624b19725c546642e19dbd9091a489fe (diff) | |
Fix missing \n in some psql_error calls.
Diffstat (limited to 'src/bin/psql/mainloop.c')
| -rw-r--r-- | src/bin/psql/mainloop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c index 8d5f53087da..28d7b58bb06 100644 --- a/src/bin/psql/mainloop.c +++ b/src/bin/psql/mainloop.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.20 2000/02/16 13:15:26 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.21 2000/02/20 02:37:40 tgl Exp $ */ #include "postgres.h" #include "mainloop.h" @@ -73,7 +73,7 @@ MainLoop(FILE *source) previous_buf = createPQExpBuffer(); if (!query_buf || !previous_buf) { - psql_error("out of memory"); + psql_error("out of memory\n"); exit(EXIT_FAILURE); } @@ -311,7 +311,7 @@ MainLoop(FILE *source) new = malloc(len + out_length - (1 + in_length) + 1); if (!new) { - psql_error("out of memory"); + psql_error("out of memory\n"); exit(EXIT_FAILURE); } |
