svn commit: r362800 - in stable: 10/lib/libkvm 11/lib/libkvm 12/lib/libkvm 7/lib/libkvm 8/lib/libkvm 9/lib/libkvm

Dimitry Andric dim at FreeBSD.org
Tue Jun 30 15:53:53 UTC 2020


Author: dim
Date: Tue Jun 30 15:53:52 2020
New Revision: 362800
URL: https://svnweb.freebsd.org/changeset/base/362800

Log:
  MFC r362623:
  
  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.

Modified:
  stable/8/lib/libkvm/kvm_getswapinfo.3
Directory Properties:
  stable/8/   (props changed)
  stable/8/lib/   (props changed)
  stable/8/lib/libkvm/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/lib/libkvm/kvm_getswapinfo.3
  stable/11/lib/libkvm/kvm_getswapinfo.3
  stable/12/lib/libkvm/kvm_getswapinfo.3
  stable/7/lib/libkvm/kvm_getswapinfo.3
  stable/9/lib/libkvm/kvm_getswapinfo.3
Directory Properties:
  stable/10/   (props changed)
  stable/11/   (props changed)
  stable/12/   (props changed)
  stable/7/   (props changed)
  stable/7/lib/   (props changed)
  stable/7/lib/libkvm/   (props changed)
  stable/9/   (props changed)
  stable/9/lib/   (props changed)
  stable/9/lib/libkvm/   (props changed)

Modified: stable/8/lib/libkvm/kvm_getswapinfo.3
==============================================================================
--- stable/8/lib/libkvm/kvm_getswapinfo.3	Tue Jun 30 15:47:11 2020	(r362799)
+++ stable/8/lib/libkvm/kvm_getswapinfo.3	Tue Jun 30 15:53:52 2020	(r362800)
@@ -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.


More information about the svn-src-stable-8 mailing list