diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2011-07-26 23:28:44 +0300 | 
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2011-07-26 23:28:44 +0300 | 
| commit | 9df8ce848245592b6b8ac919319be3167ef774ac (patch) | |
| tree | 8a5ccd18736443611f28791f988e66569019c3c2 /src | |
| parent | 6f8f9c2bdd30eef9c3f1858fb413f5f4e39d6010 (diff) | |
Add missing newlines at end of error messages
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/psql/command.c | 2 | ||||
| -rw-r--r-- | src/bin/psql/common.c | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index acc5d35cf93..7c44faeb2c6 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -1588,7 +1588,7 @@ do_edit(const char *filename_arg, PQExpBuffer query_buf, bool *edited)  		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;  		} diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 877d6f7cdbc..54b8b2027e9 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -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; | 
