summaryrefslogtreecommitdiff
path: root/libbb/wfopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/wfopen.c')
-rw-r--r--libbb/wfopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/wfopen.c b/libbb/wfopen.c
index 26e6a13..9248874 100644
--- a/libbb/wfopen.c
+++ b/libbb/wfopen.c
@@ -13,7 +13,7 @@ FILE *fopen_or_warn(const char *path, const char *mode)
{
FILE *fp = fopen(path, mode);
if (!fp) {
- bb_perror_msg("%s", path);
+ bb_simple_perror_msg(path);
errno = 0;
}
return fp;