aboutsummaryrefslogtreecommitdiff
path: root/libbb/vherror_msg.c
diff options
context:
space:
mode:
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 @@
16 16
17void bb_vherror_msg(const char *s, va_list p) 17void bb_vherror_msg(const char *s, va_list p)
18{ 18{
19 if(s == 0) 19 bb_verror_msg(s, p, hstrerror(h_errno));
20 s = "";
21 bb_verror_msg(s, p);
22 if (*s)
23 fputs(": ", stderr);
24 herror("");
25} 20}