From owner-svn-src-stable-10@freebsd.org Tue Jun 30 15:53:54 2020 Return-Path: Delivered-To: svn-src-stable-10@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 232A034F080; Tue, 30 Jun 2020 15:53:54 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49x86V0CVFz4Z1P; Tue, 30 Jun 2020 15:53:54 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DDCE11AB08; Tue, 30 Jun 2020 15:53:53 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05UFrrU8015942; Tue, 30 Jun 2020 15:53:53 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05UFrred015941; Tue, 30 Jun 2020 15:53:53 GMT (envelope-from dim@FreeBSD.org) Message-Id: <202006301553.05UFrred015941@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 30 Jun 2020 15:53:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@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 X-SVN-Group: stable-10 X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in stable: 10/lib/libkvm 11/lib/libkvm 12/lib/libkvm 7/lib/libkvm 8/lib/libkvm 9/lib/libkvm X-SVN-Commit-Revision: 362800 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2020 15:53:54 -0000 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/10/lib/libkvm/kvm_getswapinfo.3 Directory Properties: stable/10/ (props changed) Changes in other areas also in this revision: Modified: stable/11/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/11/ (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/10/lib/libkvm/kvm_getswapinfo.3 ============================================================================== --- stable/10/lib/libkvm/kvm_getswapinfo.3 Tue Jun 30 15:47:11 2020 (r362799) +++ stable/10/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.