aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libeinfo.c3
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);
}