summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-04-26 17:18:18 +0000
committerMatt Wilson <msw@redhat.com>1999-04-26 17:18:18 +0000
commit599fc3a0b2e0b5ad9ff1c2af9218adcbd6ae6ac9 (patch)
tree77041f87974dd4d1073fac125632dcb372e81844 /text.py
parente10f96ca5dab2f8064fda403722671ab93fd034d (diff)
downloadanaconda-599fc3a0b2e0b5ad9ff1c2af9218adcbd6ae6ac9.tar.gz
anaconda-599fc3a0b2e0b5ad9ff1c2af9218adcbd6ae6ac9.tar.xz
anaconda-599fc3a0b2e0b5ad9ff1c2af9218adcbd6ae6ac9.zip
we start counting partitions at 0 in balkan, so add one to the number to get the proper device
Diffstat (limited to 'text.py')
-rw-r--r--text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.py b/text.py
index c4e9cefec..01f3c3351 100644
--- a/text.py
+++ b/text.py
@@ -9,7 +9,7 @@ partList = []
for i in range(0, len(table) - 1):
(type, start, size) = table[i]
if (type == 0x83 and size):
- fullName = '/dev/%s%d' % (device, i)
+ fullName = '/dev/%s%d' % (device, i + 1)
partList.append((fullName, fullName))
rc = ListboxChoiceWindow(screen, 'Root Partition', 'What partition would you '