mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-08 02:24:59 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue