diff options
author | ache <ache@FreeBSD.org> | 1994-11-12 18:25:03 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-12 18:25:03 +0000 |
commit | edc9bb1c76c4d40f4518939d458a352980f638f7 (patch) | |
tree | 873728afe37b750827add7532d8d0b02337d2fc5 /usr.sbin | |
parent | 380a01b00700c178c47b4c6eda394d1869436da6 (diff) | |
download | FreeBSD-src-edc9bb1c76c4d40f4518939d458a352980f638f7.zip FreeBSD-src-edc9bb1c76c4d40f4518939d458a352980f638f7.tar.gz |
Use CDIOCALLOW before CDIOCEJECT
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/cdplay/cdplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/cdplay/cdplay.c b/usr.sbin/cdplay/cdplay.c index 8a4e8b4..b4e78b2 100644 --- a/usr.sbin/cdplay/cdplay.c +++ b/usr.sbin/cdplay/cdplay.c @@ -156,6 +156,7 @@ stop () int eject () { + (void) ioctl (cd_fd, CDIOCALLOW); return ioctl (cd_fd, CDIOCEJECT); } int |