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