summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iutil.py b/iutil.py
index e34930bb4..6bfa3e9fe 100644
--- a/iutil.py
+++ b/iutil.py
@@ -4,7 +4,7 @@ import types, os, sys, isys, select
def getArch ():
arch = os.uname ()[4]
if (len (arch) == 4 and arch[0] == 'i' and
- arch[2:3] == "86"):
+ arch[2:4] == "86"):
arch = "i386"
if arch == "sparc64":