mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Use CDIOCALLOW before CDIOCEJECT
This commit is contained in:
parent
f1c0b3ad97
commit
8e3327c9e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4399
@ -156,6 +156,7 @@ stop ()
|
||||
int
|
||||
eject ()
|
||||
{
|
||||
(void) ioctl (cd_fd, CDIOCALLOW);
|
||||
return ioctl (cd_fd, CDIOCEJECT);
|
||||
}
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user