diff options
author | Roy Marples <roy@marples.name> | 2007-08-01 11:33:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-01 11:33:07 +0000 |
commit | ed249bad885f4cdd6e12e047562e2a89952b8c75 (patch) | |
tree | 39f012ed2c2e38046e2c962e9f1213db89a637aa /src/libeinfo.c | |
parent | db7b95346037aa3ab517851c0cdf28244d686a71 (diff) |
Fix up einfo output a little
Diffstat (limited to 'src/libeinfo.c')
-rw-r--r-- | src/libeinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libeinfo.c b/src/libeinfo.c index 7972bcc6..e1b4db56 100644 --- a/src/libeinfo.c +++ b/src/libeinfo.c @@ -428,7 +428,7 @@ void eerrorx (const char *fmt, ...) elog (LOG_ERR, fmt, ap); _eerrorvn (fmt, ap); va_end (ap); - printf ("\n"); + fprintf (stderr, "\n"); } exit (EXIT_FAILURE); @@ -503,6 +503,7 @@ static int _do_eend (const char *cmd, int retval, const char *fmt, va_list ap) col = _eerrorvn (fmt, apc); fp = stderr; } + col += fprintf (fp, "\n"); va_end (apc); } |