summaryrefslogtreecommitdiff
path: root/libbb/vperror_msg.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-03-19 09:13:01 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-03-19 09:13:01 +0000
commitcad5364599eb5062d59e0c397ed638ddd61a8d5d (patch)
treea318d0f03aa076c74b576ea45dc543a5669e8e91 /libbb/vperror_msg.c
parente01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff)
downloadbusybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz
busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.bz2
busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip
Major coreutils update.
Diffstat (limited to 'libbb/vperror_msg.c')
-rw-r--r--libbb/vperror_msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/vperror_msg.c b/libbb/vperror_msg.c
index 7da5bae0a..febe4e22e 100644
--- a/libbb/vperror_msg.c
+++ b/libbb/vperror_msg.c
@@ -25,11 +25,11 @@
25#include <stdlib.h> 25#include <stdlib.h>
26#include "libbb.h" 26#include "libbb.h"
27 27
28extern void vperror_msg(const char *s, va_list p) 28extern void bb_vperror_msg(const char *s, va_list p)
29{ 29{
30 int err=errno; 30 int err=errno;
31 if(s == 0) s = ""; 31 if(s == 0) s = "";
32 verror_msg(s, p); 32 bb_verror_msg(s, p);
33 if (*s) s = ": "; 33 if (*s) s = ": ";
34 fprintf(stderr, "%s%s\n", s, strerror(err)); 34 fprintf(stderr, "%s%s\n", s, strerror(err));
35} 35}