aboutsummaryrefslogtreecommitdiff
path: root/libbb/wfopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/wfopen.c')
-rw-r--r--libbb/wfopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/wfopen.c b/libbb/wfopen.c
index f58ec90c0..22f22b373 100644
--- a/libbb/wfopen.c
+++ b/libbb/wfopen.c
@@ -23,11 +23,11 @@
#include <errno.h>
#include "libbb.h"
-FILE *wfopen(const char *path, const char *mode)
+FILE *bb_wfopen(const char *path, const char *mode)
{
FILE *fp;
if ((fp = fopen(path, mode)) == NULL) {
- perror_msg("%s", path);
+ bb_perror_msg("%s", path);
errno = 0;
}
return fp;