From c28fe78291d43b7d61b0dc3b35b968ba55646d03 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 18 Mar 2019 19:58:50 +0100 Subject: [PATCH] forget to take addr --- cpu/cpu_openbsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cpu_openbsd.go b/cpu/cpu_openbsd.go index 54f6ec2..04b4e7f 100644 --- a/cpu/cpu_openbsd.go +++ b/cpu/cpu_openbsd.go @@ -79,7 +79,7 @@ func smt() (bool, error) { var ret bool br := bytes.NewReader(buf) - if err := binary.Read(br, binary.LittleEndian, ret); err != nil { + if err := binary.Read(br, binary.LittleEndian, &ret); err != nil { return false, err }