Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/blkid/save.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/blkid/save.c
r1765 r2725 96 96 fd = mkstemp(tmp); 97 97 if (fd >= 0) { 98 file = fdopen(fd, "w");98 file = xfdopen_for_write(fd); 99 99 opened = tmp; 100 100 } … … 103 103 104 104 if (!file) { 105 file = fopen (filename, "w");105 file = fopen_for_write(filename); 106 106 opened = filename; 107 107 }
Note:
See TracChangeset
for help on using the changeset viewer.