Skip to content

Commit

Permalink
Fix compilation issue in bps
Browse files Browse the repository at this point in the history
  • Loading branch information
palmtenor committed Oct 31, 2017
1 parent ee433d4 commit d77a41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion introspection/bps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit d77a41b

Please sign in to comment.