summaryrefslogtreecommitdiff
path: root/libbb/vinfo_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/vinfo_msg.c')
-rw-r--r--libbb/vinfo_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/vinfo_msg.c b/libbb/vinfo_msg.c
index 82fbda2..613b013 100644
--- a/libbb/vinfo_msg.c
+++ b/libbb/vinfo_msg.c
@@ -22,7 +22,7 @@ void bb_vinfo_msg(const char *s, va_list p)
va_copy(p2, p);
if (logmode & LOGMODE_STDIO) {
vprintf(s, p);
- putchar('\n');
+ fputs(msg_eol, stdout);
}
if (ENABLE_FEATURE_SYSLOG && (logmode & LOGMODE_SYSLOG))
vsyslog(LOG_INFO, s, p2);