summaryrefslogtreecommitdiffstats
path: root/src/luks.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-11-13 23:35:47 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-11-13 23:35:47 +0100
commit455ed826c8a213979aaa69b3af09181ce2b4706c (patch)
tree4338c17dc162d89c33f67251734af7a30eb6412d /src/luks.c
parentff5f9f09896f07758222d8149a36628a1e7c3388 (diff)
IO redirection for alt. superblock/bs is enabled before file listing
Diffstat (limited to 'src/luks.c')
-rw-r--r--src/luks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luks.c b/src/luks.c
index bc41574..079a907 100644
--- a/src/luks.c
+++ b/src/luks.c
@@ -77,7 +77,8 @@ int recover_LUKS(disk_t *disk_car, const struct luks_phdr *sb,partition_t *parti
partition->part_type_gpt=GPT_ENT_TYPE_LINUX_DATA;
partition->part_size=(uint64_t)be32(sb->payloadOffset)*disk_car->sector_size;
partition->blocksize=0;
- partition->boot_sector=0;
+ partition->sborg_offset=0;
+ partition->sb_offset=0;
/* sb->uuid is bigger than part_uuid */
guid_cpy(&partition->part_uuid, (const efi_guid_t *)&sb->uuid);
if(verbose>0)