summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sysinstall/cdrom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/cdrom.c b/usr.sbin/sysinstall/cdrom.c
index 07a3722..6bc72d8 100644
--- a/usr.sbin/sysinstall/cdrom.c
+++ b/usr.sbin/sysinstall/cdrom.c
@@ -239,5 +239,6 @@ mediaEjectCDROM(Device *dev)
else {
ioctl(fd, CDIOCALLOW);
ioctl(fd, CDIOCEJECT);
+ close(fd);
}
}
OpenPOWER on IntegriCloud