libbpf: fix formatting for btf_ext__get_raw_data
authorAndrii Nakryiko <andriin@fb.com>
Thu, 28 Feb 2019 23:31:22 +0000 (15:31 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Mar 2019 00:31:47 +0000 (01:31 +0100)
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>
tools/lib/bpf/btf.h

index 94bbc24..b60bb7c 100644 (file)
@@ -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_extbtf_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,