aboutsummaryrefslogtreecommitdiff
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 4c84b3ba9..1cb871ef5 100644
--- a/libbb/wfopen.c
+++ b/libbb/wfopen.c
@@ -14,7 +14,7 @@ FILE* FAST_FUNC fopen_or_warn(const char *path, const char *mode)
FILE *fp = fopen(path, mode);
if (!fp) {
bb_simple_perror_msg(path);
- errno = 0;
+ //errno = 0; /* why? */
}
return fp;
}