search for: 943f095

Displaying 1 result from an estimated 1 matches for "943f095".

Did you mean: 94305
2018 Apr 26
1
[PATCH] libldm: fix enumeration of partition table entries
...s in order to find LDM Metadata partion: _read_privhead_gpt function in ldm.c always calls gpt_get_pte function with 0 (zero) as a second argument which causes the described bug. --- src/ldm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldm.c b/src/ldm.c index 4897de9..943f095 100644 --- a/src/ldm.c +++ b/src/ldm.c @@ -1345,7 +1345,7 @@ _read_privhead_gpt(const int fd, const gchar * const path, const guint secsize, for (uint32_t i = 0; i < gpt.pte_array_len; i++) { gpt_pte_t pte; - r = gpt_get_pte(h, 0, &pte); + r = gpt_get_pte(h, i,...