aboutsummaryrefslogtreecommitdiff
path: root/libbb/herror_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/herror_msg.c')
-rw-r--r--libbb/herror_msg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libbb/herror_msg.c b/libbb/herror_msg.c
index d041076e0..a7dd98679 100644
--- a/libbb/herror_msg.c
+++ b/libbb/herror_msg.c
@@ -26,3 +26,13 @@ void FAST_FUNC bb_herror_msg_and_die(const char *s, ...)
va_end(p);
xfunc_die();
}
+
+void FAST_FUNC bb_simple_herror_msg(const char *s)
+{
+ bb_herror_msg("%s", s);
+}
+
+void FAST_FUNC bb_simple_herror_msg_and_die(const char *s)
+{
+ bb_herror_msg_and_die("%s", s);
+}