X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=libbb%2Fperror_msg_and_die.c;h=15615fa22f6e7a34668e4229fd927947e4262705;hb=0939f2ebd25a0f9905d0c50276f796497a57fa93;hp=15f46fc05121bcc54f3f1f493adf19f1ebafed25;hpb=ab9c44b1a41c9a17cd0f8a8f1e5517756ccb8bf0;p=oweals%2Fbusybox.git diff --git a/libbb/perror_msg_and_die.c b/libbb/perror_msg_and_die.c index 15f46fc05..15615fa22 100644 --- a/libbb/perror_msg_and_die.c +++ b/libbb/perror_msg_and_die.c @@ -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; @@ -19,3 +19,8 @@ void bb_perror_msg_and_die(const char *s, ...) va_end(p); xfunc_die(); } + +void FAST_FUNC bb_simple_perror_msg_and_die(const char *s) +{ + bb_perror_msg_and_die("%s", s); +}