Use CDIOCALLOW before CDIOCEJECT
This commit is contained in:
parent
380a01b007
commit
edc9bb1c76
@ -156,6 +156,7 @@ stop ()
|
||||
int
|
||||
eject ()
|
||||
{
|
||||
(void) ioctl (cd_fd, CDIOCALLOW);
|
||||
return ioctl (cd_fd, CDIOCEJECT);
|
||||
}
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user