diff options
Diffstat (limited to 'libbb/perror_msg_and_die.c')
-rw-r--r-- | libbb/perror_msg_and_die.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/perror_msg_and_die.c b/libbb/perror_msg_and_die.c index 15f46fc05..7b500736a 100644 --- a/libbb/perror_msg_and_die.c +++ b/libbb/perror_msg_and_die.c | |||
@@ -19,3 +19,8 @@ void bb_perror_msg_and_die(const char *s, ...) | |||
19 | va_end(p); | 19 | va_end(p); |
20 | xfunc_die(); | 20 | xfunc_die(); |
21 | } | 21 | } |
22 | |||
23 | void bb_simple_perror_msg_and_die(const char *s) | ||
24 | { | ||
25 | bb_perror_msg_and_die("%s", s); | ||
26 | } | ||