summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-23 11:32:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-23 11:32:59 +0000
commit0920635b65cede09a947647473aa4bbd8dc83a8f (patch)
tree87928723a512b68e7c0a64b2203e8794ba0aa4d9 /perl-install
parent5c3114c4fc49b18db34d6342cf732631bdd78cd9 (diff)
downloaddrakx-0920635b65cede09a947647473aa4bbd8dc83a8f.tar
drakx-0920635b65cede09a947647473aa4bbd8dc83a8f.tar.gz
drakx-0920635b65cede09a947647473aa4bbd8dc83a8f.tar.bz2
drakx-0920635b65cede09a947647473aa4bbd8dc83a8f.tar.xz
drakx-0920635b65cede09a947647473aa4bbd8dc83a8f.zip
write code correctly
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index b95583fd7..dd5d4a798 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -785,7 +785,7 @@ sub get_mac_generation() {
}
sub is_xbox() {
- return any { $_->{vendor} . $_->{id} == hex('10de') . hex('02a5') } detect_devices::pci_probe();
+ any { $_->{vendor} == 0x10de && $_->{id} == 0x02a5 } detect_devices::pci_probe();
}
sub hasSMP() {