summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdm/libdm-stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index 6cfa23384..62b28b69d 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -4519,7 +4519,7 @@ static int _stats_unmap_regions(struct dm_stats *dms, uint64_t group_id,
struct dm_stats_region *region = NULL;
struct dm_stats_group *group = NULL;
uint64_t nr_kept, nr_old;
- struct _extent ext = { 0 };
+ struct _extent ext = { .id = 0 };
int64_t i;
group = &dms->groups[group_id];