New -find action report_sections
This commit is contained in:
parent
90748a9a52
commit
be012f8d45
@ -188,7 +188,8 @@ int Xorriso_sanitize_image_size(struct XorrisO *xorriso,
|
|||||||
struct burn_write_opts *burn_options, int flag)
|
struct burn_write_opts *burn_options, int flag)
|
||||||
{
|
{
|
||||||
int ret, img_sectors, num_sessions= 0, num_tracks= 0, padding= 0, profile;
|
int ret, img_sectors, num_sessions= 0, num_tracks= 0, padding= 0, profile;
|
||||||
int media_space, lba, nwa, multi_emul_blocks= 0;
|
off_t media_space;
|
||||||
|
int lba, nwa, multi_emul_blocks= 0;
|
||||||
char profile_name[80];
|
char profile_name[80];
|
||||||
struct burn_session **sessions;
|
struct burn_session **sessions;
|
||||||
struct burn_track **tracks;
|
struct burn_track **tracks;
|
||||||
@ -276,8 +277,9 @@ no_track:;
|
|||||||
(off_t) 2048;
|
(off_t) 2048;
|
||||||
if(media_space < img_sectors + padding) {
|
if(media_space < img_sectors + padding) {
|
||||||
Xorriso_process_msg_queues(xorriso,0);
|
Xorriso_process_msg_queues(xorriso,0);
|
||||||
sprintf(xorriso->info_text,"Image size %ds exceeds free space on media %ds",
|
sprintf(xorriso->info_text,
|
||||||
img_sectors + padding, media_space);
|
"Image size %ds exceeds free space on media %.fs",
|
||||||
|
img_sectors + padding, (double) media_space);
|
||||||
if(flag & 1) {
|
if(flag & 1) {
|
||||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2014.06.03.190644"
|
#define Xorriso_timestamP "2014.06.13.084712"
|
||||||
|
Loading…
Reference in New Issue
Block a user