summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-02-21 16:03:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-02-21 16:03:46 +0000
commit91ddeb4704ec0c3755ca2ae16a0f009d81da941a (patch)
tree3fd72546486e827cbf4c0dc799534162227b0d59 /perl-install/detect_devices.pm
parent328da54240c1385eacc24c1323b4cbc1ecddb03e (diff)
downloaddrakx-91ddeb4704ec0c3755ca2ae16a0f009d81da941a.tar
drakx-91ddeb4704ec0c3755ca2ae16a0f009d81da941a.tar.gz
drakx-91ddeb4704ec0c3755ca2ae16a0f009d81da941a.tar.bz2
drakx-91ddeb4704ec0c3755ca2ae16a0f009d81da941a.tar.xz
drakx-91ddeb4704ec0c3755ca2ae16a0f009d81da941a.zip
fix typo
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 0d516ed3a..b409ba504 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -889,7 +889,7 @@ sub get_mac_generation() {
sub hasSMP() {
return if $::testing;
- any { /NR_CPUS limit of 1 reached/ } syslog() ||
+ (any { /NR_CPUS limit of 1 reached/ } syslog()) ||
any { /\bProcessor #(\d+)\s+(\S*)/ && $1 > 0 && $2 ne 'invalid' } syslog();
}
sub hasPCMCIA() { $::o->{pcmcia} } #- because /proc/pcmcia seems not to be present on 2.4 at least (or use /var/run/stab)