From b0b0bb9796c21b6df49845cca130639a07ef57ae Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Thu, 30 Jan 2025 02:33:00 +0800 Subject: [PATCH] fix: ci-linter error --- map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map.go b/map.go index 239af9d..5aa634b 100644 --- a/map.go +++ b/map.go @@ -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 }