Use CDIOCALLOW before CDIOCEJECT

This commit is contained in:
Andrey A. Chernov 1994-11-12 18:25:03 +00:00
parent f1c0b3ad97
commit 8e3327c9e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4399

View file

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