fix up potential printf's with unsafe format strings
[oweals/busybox.git] / libbb / perror_msg_and_die.c
index 7b500736a80111c7cbccf1a285286aba3e585bf3..15615fa22f6e7a34668e4229fd927947e4262705 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "libbb.h"
 
-void bb_perror_msg_and_die(const char *s, ...)
+void FAST_FUNC bb_perror_msg_and_die(const char *s, ...)
 {
        va_list p;
 
@@ -20,7 +20,7 @@ void bb_perror_msg_and_die(const char *s, ...)
        xfunc_die();
 }
 
-void bb_simple_perror_msg_and_die(const char *s)
+void FAST_FUNC bb_simple_perror_msg_and_die(const char *s)
 {
        bb_perror_msg_and_die("%s", s);
 }