projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cedac5
)
Switch from hstrerror to herror for libc5 systems.
author
Matt Kraai
<kraai@debian.org>
Thu, 17 May 2001 14:19:05 +0000
(14:19 -0000)
committer
Matt Kraai
<kraai@debian.org>
Thu, 17 May 2001 14:19:05 +0000
(14:19 -0000)
libbb/vherror_msg.c
patch
|
blob
|
history
diff --git
a/libbb/vherror_msg.c
b/libbb/vherror_msg.c
index
9a06f3a
..
ee0bb50
100644
(file)
--- 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(""
);
}