Corrected wrong size unit MB to kB in toc scan pacifier text
This commit is contained in:
parent
24109d9f39
commit
aecb834cea
@ -1078,6 +1078,7 @@ int isoburn_emulate_toc(struct burn_drive *d, int flag)
|
|||||||
if(o->toc==NULL)
|
if(o->toc==NULL)
|
||||||
o->toc= item;
|
o->toc= item;
|
||||||
session_count++;
|
session_count++;
|
||||||
|
scan_count+= 32;
|
||||||
item->session= session_count;
|
item->session= session_count;
|
||||||
item->track_no= session_count;
|
item->track_no= session_count;
|
||||||
item->start_lba= lba;
|
item->start_lba= lba;
|
||||||
@ -1095,7 +1096,7 @@ int isoburn_emulate_toc(struct burn_drive *d, int flag)
|
|||||||
if(scan_count>=10*512)
|
if(scan_count>=10*512)
|
||||||
sprintf(size_text, "%.f MB", ((double) scan_count) / 512.0);
|
sprintf(size_text, "%.f MB", ((double) scan_count) / 512.0);
|
||||||
else
|
else
|
||||||
sprintf(size_text, "%.f MB", 2 * (double) scan_count);
|
sprintf(size_text, "%.f kB", 2 * (double) scan_count);
|
||||||
sprintf(msg, "Found %d ISO sessions by scanning %s in %.f seconds",
|
sprintf(msg, "Found %d ISO sessions by scanning %s in %.f seconds",
|
||||||
session_count, size_text, (double) (now - start_time));
|
session_count, size_text, (double) (now - start_time));
|
||||||
isoburn_msgs_submit(o, 0x00060000, msg, 0, sev, 0);
|
isoburn_msgs_submit(o, 0x00060000, msg, 0, sev, 0);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.06.19.090436"
|
#define Xorriso_timestamP "2008.06.19.092858"
|
||||||
|
Loading…
Reference in New Issue
Block a user