El Torito load size 0 what not shown with -report_el_torito as_mkisofs or cmd

This commit is contained in:
Thomas Schmitt 2015-12-24 08:02:02 +00:00
parent cc241467fb
commit 99e0650329
2 changed files with 5 additions and 3 deletions

View File

@ -1667,8 +1667,10 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
if(elto_count > 0) {
Xorriso_alloc_meM(et_imgs, struct elto_img_par, elto_count);
for(et_idx= 0; et_idx < elto_count; et_idx++)
for(et_idx= 0; et_idx < elto_count; et_idx++) {
et_imgs[et_idx].path= NULL;
et_imgs[et_idx].ldsiz= -1;
}
}
if(mbr_count > 0)
Xorriso_alloc_meM(mbrpts, struct mbr_par, mbr_count);
@ -2334,7 +2336,7 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
}
if(buf[0])
Xorriso_record_cmd_linE
if(et_imgs[idx].ldsiz > 0) {
if(et_imgs[idx].ldsiz >= 0) {
if(mkisofs)
sprintf(buf, "-boot-load-size %d", et_imgs[idx].ldsiz);
else

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.12.23.112013"
#define Xorriso_timestamP "2015.12.24.080343"