Changeset 3594 in MondoRescue for branches


Ignore:
Timestamp:
Jul 6, 2016, 11:30:10 AM (8 years ago)
Author:
Bruno Cornec
Message:

Fix #800 by initializing boot_type early enough to be used in which_boot_loader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3576 r3594  
    26372637
    26382638    if (archiving_to_media) {
     2639        /*  Needs to be done before calling which_boot_loader */
     2640        bkpinfo->boot_type = mr_boot_type();
    26392641        mr_free(bkpinfo->boot_device);
    26402642#ifdef __FreeBSD__
     
    26842686        }
    26852687        bkpinfo->boot_loader = i;
    2686         bkpinfo->boot_type = mr_boot_type();
    2687         /* TODO: Chcek consisytency of boot type and boot loader */
     2688        /* TODO: Check consisytency of boot type and boot loader */
    26882689
    26892690        if (bkpinfo->include_paths) {
Note: See TracChangeset for help on using the changeset viewer.