Changeset 1100 in MondoRescue for branches/stable/mondo/src/lib
- Timestamp:
- Feb 5, 2007, 5:00:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/lib/mr_file.c
r1091 r1100 11 11 12 12 #include <stdio.h> 13 #include <sys/types.h> 14 #include <sys/stat.h> 15 13 16 #include "mr_err.h" 14 17 #include "mr_msg.h" … … 50 53 fd = NULL; 51 54 } 55 56 void mr_mkdir(const char *pathname, mode_t mode) { 57 58 if (mkdir(pathname,mode) != 0) { 59 mr_msg("Unable to create directory %s",pathname); 60 mr_exit(-1,"Exiting"); 61 } 62 }
Note:
See TracChangeset
for help on using the changeset viewer.