diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-02-23 11:32:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-02-23 11:32:59 +0000 |
commit | 0920635b65cede09a947647473aa4bbd8dc83a8f (patch) | |
tree | 87928723a512b68e7c0a64b2203e8794ba0aa4d9 /perl-install | |
parent | 5c3114c4fc49b18db34d6342cf732631bdd78cd9 (diff) | |
download | drakx-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.pm | 2 |
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() { |