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 @@
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));
}