Skip to content

Commit

Permalink
btf: fix function doc typo
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Gögge <r.goegge@isovalent.com>
  • Loading branch information
rgo3 authored and lmb committed Dec 14, 2022
1 parent 2943faa commit d471880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btf/btf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d471880

Please sign in to comment.