fix numerous typos, some found by <entropy@tardis.bernstein.com> (PR

lib/4016) and others found by myself.  make Dt macro (document title)
  match filename.
This commit is contained in:
mikel 1997-08-20 05:17:39 +00:00
parent 3694683be8
commit 080f345dd2
1 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: swapctl.2,v 1.3 1997/06/20 05:47:58 mrg Exp $
.\" $NetBSD: swapctl.2,v 1.4 1997/08/20 05:17:39 mikel Exp $
.\"
.\" Copyright (c) 1997 Matthew R. Green
.\" Copyright (c) 1980, 1991, 1993
@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.Dd June 20, 1997
.Dt SWAPON 2
.Dt SWAPCTL 2
.Os NetBSD
.Sh NAME
.Nm swapctl
@ -47,18 +47,18 @@
.Sh DESCRIPTION
The
.Nm
function is used to add and delete swap devices, and modify their configuration.
The
.Nm swapon
function only exists as as backwards compatibility feature until the
function is used to add and delete swap devices, and modify their
configuration. The
.Fn swapon
function only exists as a backwards compatibility feature until the
next major bump of the
.Pa libc
major from 12. It should never be used in new code, and should be
removed from existed code.
removed from existing code.
.Pp
The
.Fa cmd
parameter specifies the operation to be performed. THe
parameter specifies the operation to be performed. The
.Fa arg
and
.Fa misc
@ -132,7 +132,7 @@ and
.Fa misc
parameters have the same function as for the
.Dv SWAP_ON
case, except that they change the priority of a currently enable swap device.
case, except that they change the priority of a currently enabled swap device.
.El
.Sh RETURN VALUES
If the
@ -173,8 +173,7 @@ The caller is not the super-user.
.It Bq Er EBUSY
The device specified by
.Fa arg
has already
been made available for swapping
has already been made available for swapping.
.It Bq Er EINVAL
The device configured by
.Fa arg
@ -190,7 +189,7 @@ for the associated hardware).
An I/O error occurred while opening the swap device.
.It Bq Er EFAULT
.Fa arg
points outside the process's allocated address space.
points outside the process' allocated address space.
.Sh SEE ALSO
.Xr swapctl 8 ,
.Xr config 8