Swapped at recognition time the precendence of MBR properties "isohybrid" and "protective-msdos-label"

This commit is contained in:
Thomas Schmitt 2017-09-09 16:36:43 +02:00
parent 028f9275d3
commit 4e5a54c2f9
1 changed files with 5 additions and 4 deletions

View File

@ -5001,12 +5001,13 @@ int iso_impsysa_report(IsoImage *image, struct iso_impsysa_result *target,
if (sa_type == 0) { if (sa_type == 0) {
if ((sao & 3) || sa_sub == 1 || sa_sub == 2) { if ((sao & 3) || sa_sub == 1 || sa_sub == 2) {
strcat(msg, " MBR"); strcat(msg, " MBR");
if (sao & 1) if (sao & 2)
strcat(msg, " protective-msdos-label");
else if (sao & 2)
strcat(msg, " isohybrid"); strcat(msg, " isohybrid");
else if (sa_sub == 1) else if (sao & 1)
strcat(msg, " protective-msdos-label");
else if (sa_sub == 1) {
strcat(msg, " CHRP"); strcat(msg, " CHRP");
}
if ((sao & (1 << 14)) && !(sao & 2)) if ((sao & (1 << 14)) && !(sao & 2))
strcat(msg, " grub2-mbr"); strcat(msg, " grub2-mbr");
sprintf(msg + strlen(msg), " cyl-align-%s", sprintf(msg + strlen(msg), " cyl-align-%s",