From 10074fefc76404a1be7bddcc2b9d18bc0ee44056 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (europa)" Date: Mon, 25 May 2015 21:41:45 +0100 Subject: rename --- process/process.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'process/process.go') diff --git a/process/process.go b/process/process.go index f025957..5e8366f 100644 --- a/process/process.go +++ b/process/process.go @@ -26,7 +26,7 @@ func new(pidstr string) (Process, error) { p := Process{Pid: pid} var rawIo string - if err = utils.GatherRaw(&rawIo, fmt.Sprintf("/proc/%d/io", pid)); err != nil { + if err = utils.Slurp(&rawIo, fmt.Sprintf("/proc/%d/io", pid)); err != nil { return p, err } @@ -34,7 +34,7 @@ func new(pidstr string) (Process, error) { return p, err } - err = utils.GatherRaw(&p.Cmdline, fmt.Sprintf("/proc/%d/cmdline", pid)) + err = utils.Slurp(&p.Cmdline, fmt.Sprintf("/proc/%d/cmdline", pid)) return p, err } -- cgit v1.2.3