diff options
Diffstat (limited to 'vendor/github.com/prometheus/procfs/net_dev.go')
-rw-r--r-- | vendor/github.com/prometheus/procfs/net_dev.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/net_dev.go b/vendor/github.com/prometheus/procfs/net_dev.go index 3f2523371a..0063594e69 100644 --- a/vendor/github.com/prometheus/procfs/net_dev.go +++ b/vendor/github.com/prometheus/procfs/net_dev.go @@ -59,7 +59,7 @@ func NewNetDev() (NetDev, error) { // NewNetDev returns kernel/system statistics read from /proc/net/dev. func (fs FS) NewNetDev() (NetDev, error) { - return newNetDev(fs.Path("net/dev")) + return newNetDev(fs.proc.Path("net/dev")) } // NewNetDev returns kernel/system statistics read from /proc/[pid]/net/dev. |