aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-29 14:21:16 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-29 14:21:16 +0000
commit00da35beb0e5840a3aab77bf6e719fa86769eee0 (patch)
tree4446f8185c8371d37d98595ff54c7047922c8c71
parent2f0116b4bf0637b99f27a2b5c2bc3e9dedd931cf (diff)
downloadsrc-00da35beb0e5840a3aab77bf6e719fa86769eee0.tar.gz
src-00da35beb0e5840a3aab77bf6e719fa86769eee0.zip
MFC r368084:
libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocs Submitted by: otis_sk.freebsd.org Reviewed by: markj
Notes
Notes: svn path=/stable/11/; revision=368152
-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 3a9e4f13552e..6be6965bf03f 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
@@ -319,7 +319,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
@@ -376,7 +376,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