summaryrefslogtreecommitdiff
path: root/lib/libc/sys/swapon.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/swapon.2')
-rw-r--r--lib/libc/sys/swapon.214
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2
index b5bb1e13e6c..218570bcf84 100644
--- a/lib/libc/sys/swapon.2
+++ b/lib/libc/sys/swapon.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: swapon.2,v 1.6 1999/05/27 20:49:36 aaron Exp $
+.\" $OpenBSD: swapon.2,v 1.7 1999/06/29 14:10:25 aaron Exp $
.\" $NetBSD: swapon.2,v 1.7 1995/02/27 12:38:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -46,17 +46,17 @@
.Fn swapon "const char *special"
.Sh DESCRIPTION
.Fn swapon
-makes the block device
+makes the block device
.Fa special
available to the system for
allocation for paging and swapping. The names of potentially
available devices are known to the system and defined at system
-configuration time. The size of the swap area on
+configuration time. The size of the swap area on
.Fa special
is calculated at the time the device is first made available
for swapping.
.Sh RETURN VALUES
-If an error has occurred, a value of -1 is returned and
+If an error has occurred, a value of \-1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
@@ -66,9 +66,9 @@ succeeds unless:
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er ENAMETOOLONG
-A component of a pathname exceeded
+A component of a pathname exceeded
.Dv {NAME_MAX}
-characters, or an entire path name exceeded
+characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT
@@ -93,7 +93,7 @@ The device configured by
was not
configured into the system as a swap device.
.It Bq Er ENXIO
-The major device number of
+The major device number of
.Fa special
is out of range (this indicates no device driver exists
for the associated hardware).