From 1e4dbebef2ce18a543c8e29de8a2200f71873b9e Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Wed, 22 Oct 2025 09:16:07 +0200 Subject: [PATCH] MINOR: stats-file: fix typo in shm-stats-file object struct size detection As reported by @TimWolla on GH #3168, there was a typo in shm stats file BUG_ON to report that the size of shm_stats_file_object changed. No backport needed. --- src/stats-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats-file.c b/src/stats-file.c index 40423116c..7aefb2f6b 100644 --- a/src/stats-file.c +++ b/src/stats-file.c @@ -822,7 +822,7 @@ int shm_stats_file_prepare(void) "it is part of the exported API: ensure all precautions were taken (ie: shm_stats_file " "version change) before adjusting this"); BUG_ON(sizeof(struct shm_stats_file_object) != 544, "shm_stats_file_object struct size changed, " - "is is part of the exported API: ensure all precautions were taken (ie: shm_stats_file " + "it is part of the exported API: ensure all precautions were taken (ie: shm_stats_file " "version change) before adjusting this"); /* do nothing if master process or shm_stats_file not configured */ -- 2.47.3