summaryrefslogtreecommitdiff
path: root/libbb/herror_msg_and_die.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-15 20:07:53 +0000
committerDenis Vlasenko2007-08-15 20:07:53 +0000
commitab9c44b1a41c9a17cd0f8a8f1e5517756ccb8bf0 (patch)
tree3a29ec44d7f37fc0a4e380531666413fa30d7e12 /libbb/herror_msg_and_die.c
parentbb23c069191f18ed11b826371ed3571e214b41e3 (diff)
downloadbusybox-ab9c44b1a41c9a17cd0f8a8f1e5517756ccb8bf0.zip
busybox-ab9c44b1a41c9a17cd0f8a8f1e5517756ccb8bf0.tar.gz
v[hp]error_msg have 2-3 callsites only -> incorporate there.
Diffstat (limited to 'libbb/herror_msg_and_die.c')
-rw-r--r--libbb/herror_msg_and_die.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c
index 8c77378..894c80f 100644
--- a/libbb/herror_msg_and_die.c
+++ b/libbb/herror_msg_and_die.c
@@ -14,7 +14,7 @@ void bb_herror_msg_and_die(const char *s, ...)
va_list p;
va_start(p, s);
- bb_vherror_msg(s, p);
+ bb_verror_msg(s, p, hstrerror(h_errno));
va_end(p);
xfunc_die();
}