summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-26 22:49:05 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-26 22:49:05 +0000
commit16e1abe4e088408f8e990e22b26dec4afb8fbd96 (patch)
tree8d9c968fc9e8cd66524ad3e182be9400489ffa2d /lib
parent1a1b8b1cb3e639a5bd83c2d5a29d615160e98466 (diff)
downloadsrc-test-16e1abe4e088408f8e990e22b26dec4afb8fbd96.tar.gz
src-test-16e1abe4e088408f8e990e22b26dec4afb8fbd96.zip
libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocs
Submitted by: otis_sk.freebsd.org Reviewed by: markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D26151
Notes
Notes: svn path=/head/; revision=368084
Diffstat (limited to 'lib')
-rw-r--r--lib/libprocstat/libprocstat.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libprocstat/libprocstat.3 b/lib/libprocstat/libprocstat.3
index 35c9016bc9ca0..20d86a57217cb 100644
--- a/lib/libprocstat/libprocstat.3
+++ b/lib/libprocstat/libprocstat.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 29, 2017
+.Dd November 26, 2020
.Dt LIBPROCSTAT 3
.Os
.Sh NAME
@@ -345,7 +345,7 @@ structure from one of the
functions, a pointer to
.Vt kinfo_proc
structure from the array obtained from the
-.Fn kvm_getprocs
+.Fn procstat_getprocs
function, and returns a null-terminated argument vector that corresponds to
the command line arguments passed to the process.
The
@@ -402,7 +402,7 @@ structure initialized with one of the
functions, a pointer to
.Vt kinfo_proc
structure from the array obtained from the
-.Fn kvm_getprocs
+.Fn procstat_getprocs
function, and returns a dynamically allocated linked list of filled in
.Vt filestat_list
structures using the STAILQ macros defined in