From 0c97c9d43707da745fe2bc62ab2a69497ceaf666 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 1 Oct 2007 11:58:38 +0000 Subject: 'simple' error message functions by Loic Grenie . 263 bytes saved. --- libbb/perror_msg.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbb/perror_msg.c') 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, ...) bb_verror_msg(s, p, errno ? strerror(errno) : NULL); va_end(p); } + +void bb_simple_perror_msg(const char *s) +{ + bb_perror_msg("%s", s); +} -- cgit v1.2.3