diff options
author | Vincent Minet <vincent@vincent-minet.net> | 2021-12-10 07:31:12 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii.nakryiko@gmail.com> | 2021-12-10 14:03:13 -0800 |
commit | c7dedfe23fca6434af9e28a08d70c54d757f19b6 (patch) | |
tree | 59c605c68e7ce8ca07191209e436e318344f23a1 /src | |
parent | f13e766fa43b2a0202a771a63ba22e3092f48d6b (diff) | |
download | libbpf-c7dedfe23fca6434af9e28a08d70c54d757f19b6.tar.gz |
libbpf: Fix typo in btf__dedup@LIBBPF_0.0.2 definition
The btf__dedup_deprecated name was misspelled in the definition of the
compat symbol for btf__dedup. This leads it to be missing from the
shared library.
This fixes it.
Fixes: 957d350a8b94 ("libbpf: Turn btf_dedup_opts into OPTS-based struct")
Signed-off-by: Vincent Minet <vincent@vincent-minet.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211210063112.80047-1-vincent@vincent-minet.net
Diffstat (limited to 'src')
-rw-r--r-- | src/btf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3107,7 +3107,7 @@ done: return libbpf_err(err); } -COMPAT_VERSION(bpf__dedup_deprecated, btf__dedup, LIBBPF_0.0.2) +COMPAT_VERSION(btf__dedup_deprecated, btf__dedup, LIBBPF_0.0.2) int btf__dedup_deprecated(struct btf *btf, struct btf_ext *btf_ext, const void *unused_opts) { LIBBPF_OPTS(btf_dedup_opts, opts, .btf_ext = btf_ext); |