summaryrefslogtreecommitdiffstats
path: root/src/godmode.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-08-12 20:43:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-08-12 20:43:38 +0200
commit88372cd6b6176c21d9b870518b3d513f1f2317bd (patch)
tree500987779181b1b003095654ed774e438d4ddd79 /src/godmode.c
parentde04a6886a6fb2dda1eb38c26691091f955a1918 (diff)
TestDisk: add Linux swap using 8k pagefile detection
Diffstat (limited to 'src/godmode.c')
-rw-r--r--src/godmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/godmode.c b/src/godmode.c
index d83ef37..c717733 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -689,7 +689,7 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
test_nbr=14;
else
{
- if(disk_car->pread(disk_car, buffer_disk0, 8 * DEFAULT_SECTOR_SIZE, partition->part_offset) == 8 * DEFAULT_SECTOR_SIZE)
+ if(disk_car->pread(disk_car, buffer_disk0, 16 * DEFAULT_SECTOR_SIZE, partition->part_offset) == 16 * DEFAULT_SECTOR_SIZE)
res=search_type_2(buffer_disk0,disk_car,partition,verbose,dump_ind);
else
res=-1;