summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-12 18:25:03 +0000
committerache <ache@FreeBSD.org>1994-11-12 18:25:03 +0000
commitedc9bb1c76c4d40f4518939d458a352980f638f7 (patch)
tree873728afe37b750827add7532d8d0b02337d2fc5 /usr.sbin
parent380a01b00700c178c47b4c6eda394d1869436da6 (diff)
downloadFreeBSD-src-edc9bb1c76c4d40f4518939d458a352980f638f7.zip
FreeBSD-src-edc9bb1c76c4d40f4518939d458a352980f638f7.tar.gz
Use CDIOCALLOW before CDIOCEJECT
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/cdplay/cdplay.c1
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
OpenPOWER on IntegriCloud