New -find action report_sections

This commit is contained in:
Thomas Schmitt 2014-06-13 08:48:00 +00:00
parent 90748a9a52
commit be012f8d45
2 changed files with 6 additions and 4 deletions

View File

@ -188,7 +188,8 @@ int Xorriso_sanitize_image_size(struct XorrisO *xorriso,
struct burn_write_opts *burn_options, int flag)
{
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];
struct burn_session **sessions;
struct burn_track **tracks;
@ -276,8 +277,9 @@ no_track:;
(off_t) 2048;
if(media_space < img_sectors + padding) {
Xorriso_process_msg_queues(xorriso,0);
sprintf(xorriso->info_text,"Image size %ds exceeds free space on media %ds",
img_sectors + padding, media_space);
sprintf(xorriso->info_text,
"Image size %ds exceeds free space on media %.fs",
img_sectors + padding, (double) media_space);
if(flag & 1) {
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
} else {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2014.06.03.190644"
#define Xorriso_timestamP "2014.06.13.084712"