summaryrefslogtreecommitdiffstats
path: root/loader/init.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-24 16:14:14 +0000
committerMatt Wilson <msw@redhat.com>2000-01-24 16:14:14 +0000
commit3e35be6ce024965de47a27da19d81e27cc2311c3 (patch)
tree3b0a250ea76abcb260d6e86ac65317699aceb2f0 /loader/init.c
parented2374771aeeb432b232904f6ef9c2def3bb9d86 (diff)
downloadanaconda-3e35be6ce024965de47a27da19d81e27cc2311c3.tar.gz
anaconda-3e35be6ce024965de47a27da19d81e27cc2311c3.tar.xz
anaconda-3e35be6ce024965de47a27da19d81e27cc2311c3.zip
eject /tmp/cdrom, not /dev/cdrom
Diffstat (limited to 'loader/init.c')
-rw-r--r--loader/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/init.c b/loader/init.c
index 0eed88f7f..512e3b66b 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -657,7 +657,7 @@ int main(int argc, char **argv) {
unmountFilesystems();
/* If /dev/cdrom exists, eject it */
- if ((fd = open("/dev/cdrom", O_RDONLY | O_NONBLOCK, 0)) >= 0) {
+ if ((fd = open("/tmp/cdrom", O_RDONLY | O_NONBLOCK, 0)) >= 0) {
printf("ejecting cdrom\n");
if (ioctl(fd, CDROMEJECT, 0)) {
printf("eject failed\n");