aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-06-30 15:53:52 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-06-30 15:53:52 +0000
commit67c55ed43979c84f9441a29daab932eb0cb6650d (patch)
tree2cc996083bea9e82c8e4965b16e86a292a742039
parent16b4f86a4bdf3396ec852f3a912296a85d958e14 (diff)
downloadsrc-stable/7.tar.gz
src-stable/7.zip
MFC r362623:stable/7
Fix copy/paste mistake in kvm_getswapinfo(3) It seems this manpage was copied from kvm_getloadavg(3), but the DIAGNOSTICS section was not updated completely. Update the section with correct information about a return value of -1.
Notes
Notes: svn path=/stable/7/; revision=362800
-rw-r--r--lib/libkvm/kvm_getswapinfo.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_getswapinfo.3 b/lib/libkvm/kvm_getswapinfo.3
index edd2068de4d1..30df634137d3 100644
--- a/lib/libkvm/kvm_getswapinfo.3
+++ b/lib/libkvm/kvm_getswapinfo.3
@@ -101,8 +101,8 @@ You may call the function with
.Dv NULL
to clear the cache.
.Sh DIAGNOSTICS
-If the load average was unobtainable, \-1 is returned; otherwise,
-the number of swap devices actually retrieved is returned.
+If the swap summary information was unobtainable, \-1 is returned;
+otherwise, the number of swap devices actually retrieved is returned.
.Pp
If the name of the swap device does not fit in the static char buffer
in the structure, it is truncated.