diff options
author | Bruce Momjian | 2011-05-07 01:47:12 +0000 |
---|---|---|
committer | Bruce Momjian | 2011-05-07 01:47:42 +0000 |
commit | 5c5f83507cb697e436f8f9d20d62787c1a66d19c (patch) | |
tree | 9311e9284d44ba17bd463f10b131c03ea968d814 /contrib/pg_upgrade/util.c | |
parent | 3ef5b2df9738fd0795c1ffcaada93c3c5df7cd49 (diff) |
Adjust pg_upgrade FATAL error messages to have consistent newlines.
Also adjust some error message capitalization for consistency.
Diffstat (limited to 'contrib/pg_upgrade/util.c')
-rw-r--r-- | contrib/pg_upgrade/util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c index 9a6691ce75f..9b0bf0f82a7 100644 --- a/contrib/pg_upgrade/util.c +++ b/contrib/pg_upgrade/util.c @@ -46,7 +46,7 @@ report_status(eLogType type, const char *fmt,...) * if(( message = flarbFiles(fileCount)) == NULL) * report_status(PG_REPORT, "ok" ); * else - * pg_log(PG_FATAL, "failed - %s", message ); + * pg_log(PG_FATAL, "failed - %s\n", message ); */ void prep_status(const char *fmt,...) @@ -97,8 +97,7 @@ pg_log(eLogType type, char *fmt,...) break; case PG_FATAL: - printf("%s", "\n"); - printf("%s", _(message)); + printf("\n%s", _(message)); printf("Failure, exiting\n"); exit(1); break; |