From ed249bad885f4cdd6e12e047562e2a89952b8c75 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 1 Aug 2007 11:33:07 +0000 Subject: Fix up einfo output a little --- src/libeinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libeinfo.c') 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); } -- cgit v1.2.3