Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2020 15:53:52 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r362800 - in stable: 10/lib/libkvm 11/lib/libkvm 12/lib/libkvm 7/lib/libkvm 8/lib/libkvm 9/lib/libkvm
Message-ID:  <202006301553.05UFrqHK015923@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/11/lib/libkvm/kvm_getswapinfo.3
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/lib/libkvm/kvm_getswapinfo.3
  stable/12/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/12/   (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/11/lib/libkvm/kvm_getswapinfo.3
==============================================================================
--- stable/11/lib/libkvm/kvm_getswapinfo.3	Tue Jun 30 15:47:11 2020	(r362799)
+++ stable/11/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006301553.05UFrqHK015923>