aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-01 11:33:07 +0000
committerRoy Marples <roy@marples.name>2007-08-01 11:33:07 +0000
commited249bad885f4cdd6e12e047562e2a89952b8c75 (patch)
tree39f012ed2c2e38046e2c962e9f1213db89a637aa
parentdb7b95346037aa3ab517851c0cdf28244d686a71 (diff)
Fix up einfo output a little
-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);
}