aboutsummaryrefslogtreecommitdiff
path: root/libbb/vperror_msg.c
diff options
context:
space:
mode:
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}