diff options
Diffstat (limited to 'libbb/perror_msg.c')
-rw-r--r-- | libbb/perror_msg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/perror_msg.c b/libbb/perror_msg.c index a958cff00..af9ff5949 100644 --- a/libbb/perror_msg.c +++ b/libbb/perror_msg.c | |||
@@ -18,3 +18,8 @@ void bb_perror_msg(const char *s, ...) | |||
18 | bb_verror_msg(s, p, errno ? strerror(errno) : NULL); | 18 | bb_verror_msg(s, p, errno ? strerror(errno) : NULL); |
19 | va_end(p); | 19 | va_end(p); |
20 | } | 20 | } |
21 | |||
22 | void bb_simple_perror_msg(const char *s) | ||
23 | { | ||
24 | bb_perror_msg("%s", s); | ||
25 | } | ||