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/12/lib/libkvm/kvm_getswapinfo.3
Directory Properties:
  stable/12/   (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/7/lib/libkvm/kvm_getswapinfo.3
  stable/8/lib/libkvm/kvm_getswapinfo.3
  stable/9/lib/libkvm/kvm_getswapinfo.3
Directory Properties:
  stable/10/   (props changed)
  stable/11/   (props changed)
  stable/7/   (props changed)
  stable/7/lib/   (props changed)
  stable/7/lib/libkvm/   (props changed)
  stable/8/   (props changed)
  stable/8/lib/   (props changed)
  stable/8/lib/libkvm/   (props changed)
  stable/9/   (props changed)
  stable/9/lib/   (props changed)
  stable/9/lib/libkvm/   (props changed)

Modified: stable/12/lib/libkvm/kvm_getswapinfo.3
==============================================================================
--- stable/12/lib/libkvm/kvm_getswapinfo.3      Tue Jun 30 15:47:11 2020        
(r362799)
+++ stable/12/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.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to