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.

MFC after:	3 days
This commit is contained in:
Dimitry Andric 2020-06-25 20:04:35 +00:00
parent d8b2d26b15
commit ea143d1be6

View File

@ -101,8 +101,8 @@ You may call the function with
.Dv NULL .Dv NULL
to clear the cache. to clear the cache.
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
If the load average was unobtainable, \-1 is returned; otherwise, If the swap summary information was unobtainable, \-1 is returned;
the number of swap devices actually retrieved is returned. otherwise, the number of swap devices actually retrieved is returned.
.Pp .Pp
If the name of the swap device does not fit in the static char buffer If the name of the swap device does not fit in the static char buffer
in the structure, it is truncated. in the structure, it is truncated.