disk: Fix issue where _p struct was not zeroed out in create_disk_index()
This commit is contained in:
parent
15127263ca
commit
f9399fd5a3
|
@ -648,8 +648,8 @@ fail:
|
|||
|
||||
volume_index[volume_index_i++] = block;
|
||||
|
||||
struct volume _p;
|
||||
for (int part = 0; ; part++) {
|
||||
struct volume _p = {0};
|
||||
|
||||
int ret = part_get(&_p, block, part);
|
||||
|
||||
|
|
Loading…
Reference in New Issue