From 8e3327c9e3fb583890db837525e945feb791a324 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 12 Nov 1994 18:25:03 +0000 Subject: [PATCH] Use CDIOCALLOW before CDIOCEJECT --- usr.sbin/cdplay/cdplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/cdplay/cdplay.c b/usr.sbin/cdplay/cdplay.c index 8a4e8b4ac625..b4e78b23ffbf 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