mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-27 14:41:28 +01:00
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.
This commit is contained in:
parent
f50425c021
commit
1e4dbebef2
@ -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 "
|
"it is part of the exported API: ensure all precautions were taken (ie: shm_stats_file "
|
||||||
"version change) before adjusting this");
|
"version change) before adjusting this");
|
||||||
BUG_ON(sizeof(struct shm_stats_file_object) != 544, "shm_stats_file_object struct size changed, "
|
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");
|
"version change) before adjusting this");
|
||||||
|
|
||||||
/* do nothing if master process or shm_stats_file not configured */
|
/* do nothing if master process or shm_stats_file not configured */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user