Fixed eject in burn_drive_release()

This commit is contained in:
Mario Danic 2006-08-28 20:43:34 +00:00
parent b306aabe96
commit e89db6141e

View File

@ -111,8 +111,8 @@ void burn_drive_release(struct burn_drive *d, int le)
burn_print(1, "second release on drive!\n");
assert(!d->busy);
if (le)
d->eject(d);
d->unlock(d);
d->unlock(d);
d->eject(d);
d->release(d);