Skip to content

Commit

Permalink
in_head: fix cannot allocate memory on big endian system
Browse files Browse the repository at this point in the history
Signed-off-by: YingJie Fu <fyjbj@cn.ibm.com>
  • Loading branch information
YingJie Fu committed Aug 14, 2024
1 parent 960419b commit bab5a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_head/in_head.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ static struct flb_config_map config_map[] = {
"Set the record key"
},
{
FLB_CONFIG_MAP_INT, "buf_size", DEFAULT_BUF_SIZE,
FLB_CONFIG_MAP_SIZE, "buf_size", DEFAULT_BUF_SIZE,
0, FLB_TRUE, offsetof(struct flb_in_head_config, buf_size),
"Set the read buffer size"
},
Expand Down

0 comments on commit bab5a90

Please sign in to comment.