diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-02-28 15:31:22 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-03-01 01:31:47 +0100 |
commit | 1baabdc1089eb807cdcabebad50b36c8b9895a48 (patch) | |
tree | 9b05e423b9916c85e02462e3155811c17413f31f /tools/lib/bpf | |
parent | 8054d51f76c8da880115ffba6189b0efd7a5b5ba (diff) | |
download | linux-stable-1baabdc1089eb807cdcabebad50b36c8b9895a48.tar.gz linux-stable-1baabdc1089eb807cdcabebad50b36c8b9895a48.tar.bz2 linux-stable-1baabdc1089eb807cdcabebad50b36c8b9895a48.zip |
libbpf: fix formatting for btf_ext__get_raw_data
Fix invalid formatting of pointer arg.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf')
-rw-r--r-- | tools/lib/bpf/btf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/btf.h b/tools/lib/bpf/btf.h index 94bbc249b0f1..b60bb7cf5fff 100644 --- a/tools/lib/bpf/btf.h +++ b/tools/lib/bpf/btf.h @@ -76,7 +76,7 @@ LIBBPF_API int btf__get_map_kv_tids(const struct btf *btf, const char *map_name, LIBBPF_API struct btf_ext *btf_ext__new(__u8 *data, __u32 size); LIBBPF_API void btf_ext__free(struct btf_ext *btf_ext); -LIBBPF_API const void *btf_ext__get_raw_data(const struct btf_ext* btf_ext, +LIBBPF_API const void *btf_ext__get_raw_data(const struct btf_ext *btf_ext, __u32 *size); LIBBPF_API int btf_ext__reloc_func_info(const struct btf *btf, const struct btf_ext *btf_ext, |