From: Aurelien DARRAGON Date: Wed, 22 Oct 2025 07:16:07 +0000 (+0200) Subject: MINOR: stats-file: fix typo in shm-stats-file object struct size detection X-Git-Tag: v3.3-dev11~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e4dbebef2ce18a543c8e29de8a2200f71873b9e;p=thirdparty%2Fhaproxy.git 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. --- 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 */