summaryrefslogtreecommitdiffhomepage
path: root/pkg/bpf/decoder.go
diff options
context:
space:
mode:
authorTing-Yu Wang <anivia@google.com>2020-11-03 15:21:38 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-03 15:23:32 -0800
commit1cfa8d58f6ffd7202fe445c2986f0366022d46f9 (patch)
tree2619c494296a36e308b375fc01e7e5bf856073f4 /pkg/bpf/decoder.go
parent580bbb749747e8c8bbf4dfe60c15676c85065a6a (diff)
Fix more nogo tests
PiperOrigin-RevId: 340536306
Diffstat (limited to 'pkg/bpf/decoder.go')
-rw-r--r--pkg/bpf/decoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bpf/decoder.go b/pkg/bpf/decoder.go
index 069d0395d..6d1e65cb1 100644
--- a/pkg/bpf/decoder.go
+++ b/pkg/bpf/decoder.go
@@ -109,7 +109,7 @@ func decodeLdSize(inst linux.BPFInstruction, w *bytes.Buffer) error {
case B:
w.WriteString("1")
default:
- return fmt.Errorf("Invalid BPF LD size: %v", inst)
+ return fmt.Errorf("invalid BPF LD size: %v", inst)
}
return nil
}