From e21c97d3b2053590d2e46c228899563bc886458e Mon Sep 17 00:00:00 2001 From: Shirou WAKAYAMA Date: Fri, 12 Feb 2016 23:53:53 +0900 Subject: [PATCH] [process]darwin: forget to change as binary.go movement. --- process/process_darwin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/process/process_darwin.go b/process/process_darwin.go index 91543e14..a09650da 100644 --- a/process/process_darwin.go +++ b/process/process_darwin.go @@ -4,6 +4,7 @@ package process import ( "bytes" + "encoding/binary" "fmt" "os/exec" "strconv" @@ -362,7 +363,7 @@ func parseKinfoProc(buf []byte) (KinfoProc, error) { var k KinfoProc br := bytes.NewReader(buf) - err := Read(br, LittleEndian, &k) + err := common.Read(br, binary.LittleEndian, &k) if err != nil { return k, err }