summaryrefslogtreecommitdiff
path: root/lib/sqfshelper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfshelper')
-rw-r--r--lib/sqfshelper/statistics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqfshelper/statistics.c b/lib/sqfshelper/statistics.c
index 3f9f595..fb70615 100644
--- a/lib/sqfshelper/statistics.c
+++ b/lib/sqfshelper/statistics.c
@@ -55,6 +55,7 @@ static void notify_fragment_discard(void *user, const sqfs_block_t *block)
}
static const sqfs_block_hooks_t hooks = {
+ .size = sizeof(hooks),
.post_block_write = post_block_write,
.pre_fragment_store = pre_fragment_store,
.notify_blocks_erased = notify_blocks_erased,