Reacting on (improbable) failure of burn_disc_pretend_full(). Coverity CID 21847.
This commit is contained in:
parent
404ece128c
commit
c37cf9f020
@ -6194,6 +6194,11 @@ int Cdrskin_blank(struct CdrskiN *skin, int flag)
|
|||||||
if(skin->force_is_set) {
|
if(skin->force_is_set) {
|
||||||
ClN(fprintf(stderr,"cdrskin: NOTE : -force blank=... : Treating unsuitable media as burn_disc_full\n"));
|
ClN(fprintf(stderr,"cdrskin: NOTE : -force blank=... : Treating unsuitable media as burn_disc_full\n"));
|
||||||
ret= burn_disc_pretend_full(drive);
|
ret= burn_disc_pretend_full(drive);
|
||||||
|
if(ret <= 0) {
|
||||||
|
ClN(fprintf(stderr,
|
||||||
|
"cdrskin: FAILURE : Medium still considered unsuitable\n"));
|
||||||
|
{ret= 0; goto ex;}
|
||||||
|
}
|
||||||
s= burn_disc_get_status(drive);
|
s= burn_disc_get_status(drive);
|
||||||
} else
|
} else
|
||||||
hint_force= 1;
|
hint_force= 1;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2015.10.29.105609"
|
#define Cdrskin_timestamP "2015.10.31.122151"
|
||||||
|
Loading…
Reference in New Issue
Block a user