summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-02-20 17:53:26 +0000
committerPeter Jones <pjones@redhat.com>2006-02-20 17:53:26 +0000
commitaaf7756f394fae7f4f20481e767c4c6ed7161564 (patch)
tree0770311b924f6a9ae156f43cd543e96430affb76
parent4614d07a2424f4ec22538fb90b4903bcac965e7f (diff)
downloadanaconda-aaf7756f394fae7f4f20481e767c4c6ed7161564.tar.gz
anaconda-aaf7756f394fae7f4f20481e767c4c6ed7161564.tar.xz
anaconda-aaf7756f394fae7f4f20481e767c4c6ed7161564.zip
- fix typo jkt found
-rw-r--r--packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index 0721d65be..b9cfaa2d8 100644
--- a/packages.py
+++ b/packages.py
@@ -647,8 +647,8 @@ def doPreInstall(method, id, intf, instPath, dir):
foundkernel = 0
nthreads = isys.acpicpus()
- if acpicpus == 0:
- # XXX this should probably be table driven or something...
+ if nthreads == 0:
+ # this should probably be table driven or something...
ncpus = isys.smpAvailable() or 1
nthreads = isys.htavailable() or 1
ncores = isys.coresavailable()