summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-03-10 19:16:54 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-03-10 19:16:54 +0100
commite05cb60bcc306396f97cf43ad0c26b5e21529873 (patch)
tree5fef7b4e70af9c1a530c33f1debaa7f9acddfc5b
parent49771a7530d647ca80c530a684876a02983a7a85 (diff)
downloadfirstaidkit-e05cb60bcc306396f97cf43ad0c26b5e21529873.tar.gz
firstaidkit-e05cb60bcc306396f97cf43ad0c26b5e21529873.tar.xz
firstaidkit-e05cb60bcc306396f97cf43ad0c26b5e21529873.zip
Correct the call to the rescue function.
-rw-r--r--plugins/plugin_undelete_partitions/undeletePartition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_undelete_partitions/undeletePartition.py b/plugins/plugin_undelete_partitions/undeletePartition.py
index 5a3b19e..ca5f1b7 100644
--- a/plugins/plugin_undelete_partitions/undeletePartition.py
+++ b/plugins/plugin_undelete_partitions/undeletePartition.py
@@ -117,7 +117,7 @@ class UndeletePartition(Plugin):
if len(members[0]) > 0:#there are partitions to rescue :)
self._reporting.info("Trying to rescue %s from disk %s"%(members[0], disk),
origin = self, level = PLUGIN)
- rescued = _undelpart.rescue(members[0])
+ rescued = _undelpart.rescue(disk,members[0])
self._reporting.info("Partitions rescued: %s"%rescued,
origin = self, level = PLUGIN)
elif len(members[0]) == 0: