aboutsummaryrefslogtreecommitdiff
path: root/libbb/vherror_msg.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-06 18:36:50 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-06 18:36:50 +0000
commit3538b9a8822421b7c8596a33a917dcf2f99c92b7 (patch)
tree768c23fe79bb81583de7376a4d744632d888d303 /libbb/vherror_msg.c
parent5d725462d44268f9a86030daaa6f6396d32f796c (diff)
downloadbusybox-3538b9a8822421b7c8596a33a917dcf2f99c92b7.tar.gz
Implement optional syslog logging using ordinary
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
Diffstat (limited to 'libbb/vherror_msg.c')
-rw-r--r--libbb/vherror_msg.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libbb/vherror_msg.c b/libbb/vherror_msg.c
index cb5502176..7d9fc432a 100644
--- a/libbb/vherror_msg.c
+++ b/libbb/vherror_msg.c
@@ -16,10 +16,5 @@
void bb_vherror_msg(const char *s, va_list p)
{
- if(s == 0)
- s = "";
- bb_verror_msg(s, p);
- if (*s)
- fputs(": ", stderr);
- herror("");
+ bb_verror_msg(s, p, hstrerror(h_errno));
}