libbb: reduce the overhead of single parameter bb_error_msg() calls
[oweals/busybox.git] / libbb / herror_msg.c
index d041076e00001385bb04cc06a1a1693812faf9b7..a7dd986790a4972172ae5403e7709b2bf874dc84 100644 (file)
@@ -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);
+}