Changeset 1770 in MondoRescue for branches/stable/mindi-busybox/libbb/wfopen.c
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/libbb/wfopen.c
r821 r1770 8 8 */ 9 9 10 #include <stdio.h>11 #include <errno.h>12 10 #include "libbb.h" 13 11 14 FILE * bb_wfopen(const char *path, const char *mode)12 FILE *fopen_or_warn(const char *path, const char *mode) 15 13 { 16 FILE *fp ;17 if ( (fp = fopen(path, mode)) == NULL) {14 FILE *fp = fopen(path, mode); 15 if (!fp) { 18 16 bb_perror_msg("%s", path); 19 17 errno = 0;
Note:
See TracChangeset
for help on using the changeset viewer.