diff options
Diffstat (limited to 'vendor/github.com/prometheus/procfs/doc.go')
-rw-r--r-- | vendor/github.com/prometheus/procfs/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/doc.go b/vendor/github.com/prometheus/procfs/doc.go index e2acd6d40..d31a82600 100644 --- a/vendor/github.com/prometheus/procfs/doc.go +++ b/vendor/github.com/prometheus/procfs/doc.go @@ -31,7 +31,7 @@ // log.Fatalf("could not get process: %s", err) // } // -// stat, err := p.NewStat() +// stat, err := p.Stat() // if err != nil { // log.Fatalf("could not get process stat: %s", err) // } |