Downgraded severity of media overflow with -print_size

This commit is contained in:
Thomas Schmitt 2013-08-19 15:27:46 +00:00
parent 81565c2a5b
commit 21b4191404
2 changed files with 7 additions and 3 deletions

View File

@ -249,9 +249,13 @@ no_track:;
Xorriso_process_msg_queues(xorriso,0);
sprintf(xorriso->info_text,"Image size %ds exceeds free space on media %ds",
img_sectors + padding, media_space);
if(flag & 1) {
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
} else {
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
}
if(flag&1) {
ret= multi_emul_blocks + img_sectors + padding;
} else

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.08.16.153743"
#define Xorriso_timestamP "2013.08.19.152714"