Bug fix: A failed MMC BLANK command did not cause error indication by libburn
This commit is contained in:
parent
91eca50221
commit
61e2176d03
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2014.04.29.061645"
|
||||
#define Cdrskin_timestamP "2014.05.03.103448"
|
||||
|
@ -2680,6 +2680,10 @@ void mmc_erase(struct burn_drive *d, int fast)
|
||||
c->dir = NO_TRANSFER;
|
||||
c->timeout = Libburn_mmc_blank_timeouT;
|
||||
d->issue_command(d, c);
|
||||
if (c->error) {
|
||||
d->cancel = 1;
|
||||
scsi_notify_error(d, c, c->sense, 14, 2);
|
||||
}
|
||||
}
|
||||
|
||||
void mmc_read_lead_in(struct burn_drive *d, struct buffer *buf)
|
||||
|
Loading…
Reference in New Issue
Block a user