commit | 231f998abac93316a5d355b17e281b3d73a57e9d | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Thu May 17 14:19:05 2001 +0000 |
committer | Matt Kraai <kraai@debian.org> | Thu May 17 14:19:05 2001 +0000 |
tree | 104f713ac24b9966c74c465b1ff1854d6d50d240 | |
parent | 7cedac567c6ad1367ea3b2f247cec72a09a6ddc6 [diff] [blame] |
Switch from hstrerror to herror for libc5 systems.
diff --git a/libbb/vherror_msg.c b/libbb/vherror_msg.c index 9a06f3a..ee0bb50 100644 --- a/libbb/vherror_msg.c +++ b/libbb/vherror_msg.c
@@ -35,11 +35,10 @@ extern void vherror_msg(const char *s, va_list p) { - int err = h_errno; if(s == 0) s = ""; verror_msg(s, p); if (*s) - s = ": "; - fprintf(stderr, "%s%s\n", s, hstrerror(err)); + fputs(": ", stderr); + herror(""); }