diff options
| author | Paul Buetow (europa) <paul@buetow.org> | 2015-05-25 21:41:45 +0100 |
|---|---|---|
| committer | Paul Buetow (europa) <paul@buetow.org> | 2015-05-25 21:41:45 +0100 |
| commit | 10074fefc76404a1be7bddcc2b9d18bc0ee44056 (patch) | |
| tree | e518cbb452507621ef893b9199d856f082059165 /process/process.go | |
| parent | 1d3f483ebb9f024324866ba87aa265ab5b06b735 (diff) | |
rename
Diffstat (limited to 'process/process.go')
| -rw-r--r-- | process/process.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
