|author||Dimitry Andric <dim@FreeBSD.org>||2020-06-30 15:53:52 +0000|
|committer||Dimitry Andric <dim@FreeBSD.org>||2020-06-30 15:53:52 +0000|
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: svn path=/stable/8/; revision=362800
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
@@ -101,8 +101,8 @@ You may call the function with
to clear the cache.
-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.
If the name of the swap device does not fit in the static char buffer
in the structure, it is truncated.