mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-08 01:03:20 +02:00
BUG/MINOR: stats-file: Use a 16bits variable when loading tgid
Now that the tgid stored in the stats file has been increased to 16bits
by commit 022cb3ab7f, don't forget to
increase the variable size when reading it from the file, too.
This should have no impact given the maximum thread group limit is still
32.
This commit is contained in:
@@ -739,7 +739,7 @@ static void shm_stats_file_preload(void)
|
||||
while (it < objects) {
|
||||
struct guid_node *node;
|
||||
uint64_t users;
|
||||
uint8_t obj_tgid;
|
||||
uint16_t obj_tgid;
|
||||
|
||||
curr_obj = SHM_STATS_FILE_OBJECT(shm_stats_file_hdr, it);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user