summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-09 03:17:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-09 03:17:04 +0000
commit187cc95ea7bb4772b371b7f18b0e836b2dfbe0d8 (patch)
treea9257d544f867c388f16e96d6aa0fa9283cdb9f9 /perl-install
parent30d35b93fac7a906ac70fa825f6f640353ed41d6 (diff)
downloaddrakx-187cc95ea7bb4772b371b7f18b0e836b2dfbe0d8.tar
drakx-187cc95ea7bb4772b371b7f18b0e836b2dfbe0d8.tar.gz
drakx-187cc95ea7bb4772b371b7f18b0e836b2dfbe0d8.tar.bz2
drakx-187cc95ea7bb4772b371b7f18b0e836b2dfbe0d8.tar.xz
drakx-187cc95ea7bb4772b371b7f18b0e836b2dfbe0d8.zip
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 2bd17d7a3..92c8eb893 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -617,7 +617,7 @@ sub ejectCdrom {
eval { fs::umount("/tmp/image") };
$@ and warnAboutFilesStillOpen();
eval {
- my $dev = detect_devices::tryOpen($o_cdrom);
+ my $dev = detect_devices::tryOpen($cdrom);
ioctl($dev, c::CDROMEJECT(), 1) if ioctl($dev, c::CDROM_DRIVE_STATUS(), 0) == c::CDS_DISC_OK();
};
}