diff options
| author | Joel Andres Granados <jgranado@redhat.com> | 2008-03-05 15:20:29 +0100 |
|---|---|---|
| committer | Joel Andres Granados <jgranado@redhat.com> | 2008-03-07 14:36:03 +0100 |
| commit | 4a94778eb3d71cedc641f4b7b253b913bcf72345 (patch) | |
| tree | 91e9075461f8e5b4bdb328bccc70ad4e8c81b98b /plugins | |
| parent | 240aaab44c51dd995c4810cd785dbc71baa41fca (diff) | |
| download | firstaidkit-4a94778eb3d71cedc641f4b7b253b913bcf72345.tar.gz firstaidkit-4a94778eb3d71cedc641f4b7b253b913bcf72345.tar.xz firstaidkit-4a94778eb3d71cedc641f4b7b253b913bcf72345.zip | |
Typo, and temoprary string output for debugging.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/plugin_undelete_partitions/_undelpart.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/plugin_undelete_partitions/_undelpart.c b/plugins/plugin_undelete_partitions/_undelpart.c index cf2237a..30a287c 100644 --- a/plugins/plugin_undelete_partitions/_undelpart.c +++ b/plugins/plugin_undelete_partitions/_undelpart.c @@ -153,7 +153,7 @@ rescuable(PedDisk * disk, PedSector start, PedSector end){ PedPartitionType part_type; PedFileSystemType * fs_type; - /* Initialize the entire_dev geom for the contraint calculation */ + /* Initialize the entire_dev geom for the constraint calculation */ ped_geometry_init(&entire_dev, disk->dev, 0, disk->dev->length); part_type = _disk_get_part_type_for_sector (disk, (start + end) / 2); @@ -412,10 +412,12 @@ undelpart_getRescuable(PyObject * self, PyObject * args){ continue; } + printf("partNum %d, partStart %d, partEnd %d\n", part->num, part->geom.start, part->geom.end); if(part->num == -1 && part->geom.start < part->geom.end){ /* There might be a partition between current and part->geom.start */ recoverablePart = rescuable(clone, part->geom.start, part->geom.end); if(recoverablePart != NULL){ + printf("partNum %d is recoverablel\n", recoverablePart->num); /* create the python object */ tempList = _getPPartList(recoverablePart->num, recoverablePart->geom.start, |
