Changeset 3397 in MondoRescue for branches/3.2/mondo/src/common/libmondo-archive.c
- Timestamp:
- Aug 4, 2015, 8:57:22 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-archive.c
r3380 r3397 496 496 char *bootldr_str = NULL; 497 497 char *bootldr_ver = NULL; 498 char *boot_type = NULL; 498 499 char *tape_device = NULL; 499 500 char *last_filelist_number = NULL; … … 591 592 } else { 592 593 mr_asprintf(use_lilo_sz, "no"); 594 } 595 if (bkpinfo->boot_type == UEFI) { 596 mr_asprintf(boot_type, "UEFI"); 597 } else if (bkpinfo->boot_type == EFI) { 598 mr_asprintf(boot_type, "EFI"); 599 } else if (bkpinfo->boot_type == BIOS) { 600 mr_asprintf(boot_type, "BIOS"); 601 } else { 602 mr_asprintf(boot_type, "UNKNOWN"); 593 603 } 594 604 … … 856 866 use_lzma_sz, // parameter #21 (STRING) 857 867 value, // parameter #22 (STRING) 868 boot_type, // parameter #23 (STRING) 858 869 MONDO_LOGFILE // redirect to log file 859 870 ); … … 863 874 mr_free(tape_size_sz); 864 875 mr_free(use_lzo_sz); 876 mr_free(boot_type); 865 877 mr_free(cd_recovery_sz); 866 878 mr_free(broken_bios_sz);
Note:
See TracChangeset
for help on using the changeset viewer.