gpt: add pointer to the GPT header for child partitions.

* This fixes odd behaviour in devices.cpp for the UEFI loader,
  which I had forgotten to commit at that time.
This commit is contained in:
Jessica Hamilton
2017-01-13 00:53:12 +00:00
parent bcf11b8a24
commit e3c6ca6589
@@ -140,6 +140,7 @@ efi_gpt_scan_partition(int fd, partition_data* partition, void* _cookie)
child->type = strdup(get_partition_type(entry.partition_type));
child->block_size = partition->block_size;
child->cookie = (void*)(addr_t)i;
child->content_cookie = header;
}
return B_OK;