Skip to content

Commit

Permalink
fix: ci-linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Jan 29, 2025
1 parent 198318a commit b0b0bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (m *BPFMap) AttachStructOps() error {
}
linkC, errno := C.bpf_map__attach_struct_ops(m.bpfMap)
if linkC == nil {
return fmt.Errorf("Map attach failed: %w", &errno)
return fmt.Errorf("Map attach failed: %v", &errno)
}
return nil
}
Expand Down

0 comments on commit b0b0bb9

Please sign in to comment.