From d77a41b0ad785065f231416440e1790ffb50c513 Mon Sep 17 00:00:00 2001 From: Teng Qin Date: Tue, 31 Oct 2017 12:05:17 -0700 Subject: [PATCH] Fix compilation issue in bps --- introspection/bps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introspection/bps.c b/introspection/bps.c index 1a83bb942baa..3daabfedbc71 100644 --- a/introspection/bps.c +++ b/introspection/bps.c @@ -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]);