From d4718801922f06d6c7c1eab4b6efda117f4e286d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20G=C3=B6gge?= <r.goegge@isovalent.com> Date: Wed, 14 Dec 2022 01:28:37 +0100 Subject: [PATCH] btf: fix function doc typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robin Gögge <r.goegge@isovalent.com> --- btf/btf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btf/btf.go b/btf/btf.go index 793701b6e..89e644f5c 100644 --- a/btf/btf.go +++ b/btf/btf.go @@ -105,7 +105,7 @@ func LoadSpecFromReader(rd io.ReaderAt) (*Spec, error) { // LoadSpecAndExtInfosFromReader reads from an ELF. // -// ExtInfos may be nil if the ELF doesn't contain section metadta. +// ExtInfos may be nil if the ELF doesn't contain section metadata. // Returns ErrNotFound if the ELF contains no BTF. func LoadSpecAndExtInfosFromReader(rd io.ReaderAt) (*Spec, *ExtInfos, error) { file, err := internal.NewSafeELFFile(rd)