summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/test_libbpf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/test_libbpf.cpp')
-rw-r--r--tools/lib/bpf/test_libbpf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/bpf/test_libbpf.cpp b/tools/lib/bpf/test_libbpf.cpp
index abf3fc25c9fa..fc134873bb6d 100644
--- a/tools/lib/bpf/test_libbpf.cpp
+++ b/tools/lib/bpf/test_libbpf.cpp
@@ -8,11 +8,11 @@
int main(int argc, char *argv[])
{
/* libbpf.h */
- libbpf_set_print(NULL, NULL, NULL);
+ libbpf_set_print(NULL);
/* bpf.h */
bpf_prog_get_fd_by_id(0);
/* btf.h */
- btf__new(NULL, 0, NULL);
+ btf__new(NULL, 0);
}