diff options
Diffstat (limited to 'libbb/vperror_msg.c')
-rw-r--r-- | libbb/vperror_msg.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libbb/vperror_msg.c b/libbb/vperror_msg.c index 5a854ec4a..70fd671e3 100644 --- a/libbb/vperror_msg.c +++ b/libbb/vperror_msg.c | |||
@@ -15,9 +15,5 @@ | |||
15 | 15 | ||
16 | void bb_vperror_msg(const char *s, va_list p) | 16 | void bb_vperror_msg(const char *s, va_list p) |
17 | { | 17 | { |
18 | int err=errno; | 18 | bb_verror_msg(s, p, strerror(errno)); |
19 | if(s == 0) s = ""; | ||
20 | bb_verror_msg(s, p); | ||
21 | if (*s) s = ": "; | ||
22 | fprintf(stderr, "%s%s\n", s, strerror(err)); | ||
23 | } | 19 | } |