Fixed eject in burn_drive_release()
This commit is contained in:
parent
b306aabe96
commit
e89db6141e
@ -111,8 +111,8 @@ void burn_drive_release(struct burn_drive *d, int le)
|
|||||||
burn_print(1, "second release on drive!\n");
|
burn_print(1, "second release on drive!\n");
|
||||||
assert(!d->busy);
|
assert(!d->busy);
|
||||||
if (le)
|
if (le)
|
||||||
d->eject(d);
|
d->unlock(d);
|
||||||
d->unlock(d);
|
d->eject(d);
|
||||||
|
|
||||||
d->release(d);
|
d->release(d);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user