diff options
Diffstat (limited to 'libflash')
-rw-r--r-- | libflash/blocklevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c index d2b7eaa..33d5c5d 100644 --- a/libflash/blocklevel.c +++ b/libflash/blocklevel.c @@ -591,6 +591,7 @@ static bool insert_bl_prot_range(struct blocklevel_range *ranges, struct bl_prot memcpy(&new_ranges[insert_pos], &range, sizeof(range)); ranges->prot = new_ranges; ranges->n_prot++; + prot = new_ranges; } /* Probably only worth mergeing when we're low on space */ |