summaryrefslogtreecommitdiffstats
path: root/partRequests.py
diff options
context:
space:
mode:
Diffstat (limited to 'partRequests.py')
-rw-r--r--partRequests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partRequests.py b/partRequests.py
index d8de5e679..e9b86c993 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -520,7 +520,7 @@ class PartitionSpec(RequestSpec):
size = 0
for drive in self.drive:
- part = diskset.disks[drive].getPartitionByPath(self.device)
+ part = diskset.disks[drive].getPartitionByPath("/dev/%s" % self.device)
if not part:
# XXX kickstart might still call this before allocating the partitions