From 5cac4cad206e42a1455d847abe4b382535eacb0a Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 30 Jun 2020 15:53:52 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@362800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libkvm/kvm_getswapinfo.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libkvm/kvm_getswapinfo.3 b/lib/libkvm/kvm_getswapinfo.3 index bb4e67e41..817cd8181 100644 --- a/lib/libkvm/kvm_getswapinfo.3 +++ b/lib/libkvm/kvm_getswapinfo.3 @@ -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. -- 2.45.0