diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/wfopen.c | 2 |
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) | |||
14 | FILE *fp = fopen(path, mode); | 14 | FILE *fp = fopen(path, mode); |
15 | if (!fp) { | 15 | if (!fp) { |
16 | bb_simple_perror_msg(path); | 16 | bb_simple_perror_msg(path); |
17 | errno = 0; | 17 | //errno = 0; /* why? */ |
18 | } | 18 | } |
19 | return fp; | 19 | return fp; |
20 | } | 20 | } |