From: Matt Kraai Date: Thu, 17 May 2001 14:19:05 +0000 (-0000) Subject: Switch from hstrerror to herror for libc5 systems. X-Git-Tag: 0_52~165 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=231f998abac93316a5d355b17e281b3d73a57e9d;p=oweals%2Fbusybox.git Switch from hstrerror to herror for libc5 systems. --- diff --git a/libbb/vherror_msg.c b/libbb/vherror_msg.c index 9a06f3a38..ee0bb5009 100644 --- a/libbb/vherror_msg.c +++ b/libbb/vherror_msg.c @@ -35,11 +35,10 @@ extern int h_errno; 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(""); }