diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-24 16:14:14 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-24 16:14:14 +0000 |
commit | 3e35be6ce024965de47a27da19d81e27cc2311c3 (patch) | |
tree | 3b0a250ea76abcb260d6e86ac65317699aceb2f0 /loader | |
parent | ed2374771aeeb432b232904f6ef9c2def3bb9d86 (diff) | |
download | anaconda-3e35be6ce024965de47a27da19d81e27cc2311c3.tar.gz anaconda-3e35be6ce024965de47a27da19d81e27cc2311c3.tar.xz anaconda-3e35be6ce024965de47a27da19d81e27cc2311c3.zip |
eject /tmp/cdrom, not /dev/cdrom
Diffstat (limited to 'loader')
-rw-r--r-- | loader/init.c | 2 |
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"); |