Changeset 1265 in MondoRescue
- Timestamp:
- Mar 24, 2007, 10:04:37 AM (18 years ago)
- Location:
- branches/stable/mondo/src/mondorestore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1251 r1265 282 282 { 283 283 char *mount_isodir_command = NULL; 284 char *tmp = NULL;285 284 char *command = NULL; 286 285 int retval = 0, i = 0; … … 462 461 mr_msg(1, 463 462 "That's OK. I called mount w/o a filesystem type and it worked fine in the end."); 464 } else {465 log_to_screen(tmp);466 463 } 467 464 } … … 1289 1286 1290 1287 char *device = NULL; 1288 #ifdef __FreeBSD__ 1291 1289 char *tmp = NULL; 1290 #endif 1292 1291 char *name = NULL; 1293 1292 -
branches/stable/mondo/src/mondorestore/mondorestore.c
r1264 r1265 20 20 #include "mr_str.h" 21 21 #include "mr_err.h" 22 #include "mr_conf.h" 22 23 23 24 #include "mondostructures.h" … … 139 140 return; 140 141 } 141 mr_free( &mr_cnf->media_device);142 mr_free( &mr_cnf->prefix);143 mr_free( &mr_cnf->boot_loader);144 mr_free( &mr_cnf->compression_tool);145 mr_free( &mr_cnf->ui_mode);146 mr_free( &mr_cnf->images_dir);142 mr_free(mr_cnf->media_device); 143 mr_free(mr_cnf->prefix); 144 mr_free(mr_cnf->boot_loader); 145 mr_free(mr_cnf->compression_tool); 146 mr_free(mr_cnf->ui_mode); 147 mr_free(mr_cnf->images_dir); 147 148 } 148 149 … … 157 158 mr_rs_clean_conf(&mr_conf); 158 159 */ 160 mr_rs_clean_conf(NULL); 159 161 /* We have to remove all temporary files */ 160 162 /* We have to unmount what has been mounted */ … … 2729 2731 * Log a "don't panic" message to the logfile. 2730 2732 */ 2731 void welcome_to_mondorestore( )2733 void welcome_to_mondorestore(void) 2732 2734 { 2733 2735 mr_msg(0, "-------------- Mondo Restore v%s -------------", PACKAGE_VERSION); … … 2767 2769 * What did you think it did, anyway? :-) 2768 2770 */ 2769 intmain(int argc, char *argv[])2771 void main(int argc, char *argv[]) 2770 2772 { 2771 2773 FILE *fin = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.