Use CDIOCALLOW before CDIOCEJECT

This commit is contained in:
ache 1994-11-12 18:25:03 +00:00
parent 380a01b007
commit edc9bb1c76

View File

@ -156,6 +156,7 @@ stop ()
int
eject ()
{
(void) ioctl (cd_fd, CDIOCALLOW);
return ioctl (cd_fd, CDIOCEJECT);
}
int