diff --git a/cpu/cpu_openbsd.go b/cpu/cpu_openbsd.go index 54f6ec21..04b4e7f3 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 }