Resetting the drive failure status before starting random-access writing

This commit is contained in:
Thomas Schmitt 2013-11-17 10:25:01 +00:00
parent 83eac67cf5
commit 04afd1c958
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2013.11.16.170431" #define Cdrskin_timestamP "2013.11.17.102351"

View File

@ -3228,6 +3228,7 @@ int burn_random_access_write(struct burn_drive *d, off_t byte_address,
if (fd == -1) if (fd == -1)
{ret = 0; goto ex;} {ret = 0; goto ex;}
} }
d->cancel = 0;
d->busy = BURN_DRIVE_WRITING_SYNC; d->busy = BURN_DRIVE_WRITING_SYNC;
d->buffer = buf; d->buffer = buf;