Commit bc5791c0 authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1424 from palmtenor/bps

Fix minor compilation issue in bps
parents ee433d4e d77a41b0
......@@ -219,7 +219,7 @@ static int print_one_prog(uint32_t prog_id)
nr_map_ids = min(prog_info.nr_map_ids, nr_map_ids);
for (i = 0; i < nr_map_ids; i++) {
struct bpf_map_info map_info = {};
uint32_t info_len = sizeof(map_info);
info_len = sizeof(map_info);
int map_fd;
map_fd = bpf_map_get_fd_by_id(map_ids[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment