X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fherror_msg_and_die.c;h=230fe645a0e237e264d6a97c49e13fbbaac58102;hb=d7171c114028815df4e92f9c26875f1d60c6af2a;hp=a7a22caf747abd6c0ae9ef076f317aab7dcf7a69;hpb=9b1381fd2fb7179f731709542507015799f90a51;p=oweals%2Fbusybox.git diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c index a7a22caf7..230fe645a 100644 --- a/libbb/herror_msg_and_die.c +++ b/libbb/herror_msg_and_die.c @@ -7,17 +7,14 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include - #include "libbb.h" -void bb_herror_msg_and_die(const char *s, ...) +void FAST_FUNC bb_herror_msg_and_die(const char *s, ...) { va_list p; va_start(p, s); - bb_vherror_msg(s, p); + bb_verror_msg(s, p, hstrerror(h_errno)); va_end(p); - sleep_and_die(); + xfunc_die(); }