We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ff7ad commit 95cec14Copy full SHA for 95cec14
tools/testing/selftests/bpf/prog_tests/global_data_init.c
@@ -12,7 +12,8 @@ void test_global_data_init(void)
12
size_t sz;
13
14
obj = bpf_object__open_file(file, NULL);
15
- if (CHECK_FAIL(!obj))
+ err = libbpf_get_error(obj);
16
+ if (CHECK_FAIL(err))
17
return;
18
19
map = bpf_object__find_map_by_name(obj, "test_glo.rodata");
0 commit comments