Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/bpf2go/gen/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func sortTypes(typeNames map[btf.Type]string) ([]btf.Type, error) {
}

if names[i] == name {
return nil, fmt.Errorf("type name %q is used multiple times", name)
return nil, fmt.Errorf("type name %q is used multiple times (remove its --type flag?)", name)
}

types = append(types[:i], append([]btf.Type{typ}, types[i:]...)...)
Expand Down
Loading