aboutsummaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_getswapinfo.3
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-06-25 20:04:35 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-06-25 20:04:35 +0000
commitea143d1be682ae3871b140cd00b8cb435a4d0dc3 (patch)
tree901d56edd095f428e613237f5e934d31e8b3c41e /lib/libkvm/kvm_getswapinfo.3
parentd8b2d26b158aa51a641a5f8eacb306314a416c50 (diff)
downloadsrc-ea143d1be682ae3871b140cd00b8cb435a4d0dc3.tar.gz
src-ea143d1be682ae3871b140cd00b8cb435a4d0dc3.zip
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. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=362623
Diffstat (limited to 'lib/libkvm/kvm_getswapinfo.3')
-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 bb4e67e413d8..817cd8181fc1 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.