*: use better isspace implementation
[oweals/busybox.git] / libbb / perror_msg.c
index a958cff006587b28419c73667e91f6e62a59f819..6c8e1b51ef8cfca1cf984f4301b2783644eb5141 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "libbb.h"
 
-void bb_perror_msg(const char *s, ...)
+void FAST_FUNC bb_perror_msg(const char *s, ...)
 {
        va_list p;
 
@@ -18,3 +18,8 @@ void bb_perror_msg(const char *s, ...)
        bb_verror_msg(s, p, errno ? strerror(errno) : NULL);
        va_end(p);
 }
+
+void FAST_FUNC bb_simple_perror_msg(const char *s)
+{
+       bb_perror_msg("%s", s);
+}