mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
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.
This commit is contained in:
parent
16b4f86a4b
commit
67c55ed439
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/7/; revision=362800
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user