svn commit: r260199 - stable/9/lib/libc/sys
Sergey Kandaurov
pluknet at FreeBSD.org
Thu Jan 2 16:39:12 UTC 2014
Author: pluknet
Date: Thu Jan 2 16:39:11 2014
New Revision: 260199
URL: http://svnweb.freebsd.org/changeset/base/260199
Log:
MFC r259872:
The compile time constant limit on number of swap devices was removed in 5.2.
As such, remove the EINVAL error saying so. Currently the vm.nswapdev sysctl
just represents the number of added swap devices.
Modified:
stable/9/lib/libc/sys/swapon.2
Directory Properties:
stable/9/lib/libc/ (props changed)
stable/9/lib/libc/sys/ (props changed)
Modified: stable/9/lib/libc/sys/swapon.2
==============================================================================
--- stable/9/lib/libc/sys/swapon.2 Thu Jan 2 16:37:23 2014 (r260198)
+++ stable/9/lib/libc/sys/swapon.2 Thu Jan 2 16:39:11 2014 (r260199)
@@ -28,7 +28,7 @@
.\" @(#)swapon.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd October 4, 2013
.Dt SWAPON 2
.Os
.Sh NAME
@@ -98,10 +98,6 @@ Additionally,
.Fn swapon
can fail for the following reasons:
.Bl -tag -width Er
-.It Bq Er EINVAL
-The system has reached the boot-time limit on the number of
-swap devices,
-.Va vm.nswapdev .
.It Bq Er ENOTBLK
The
.Fa special
More information about the svn-src-stable-9
mailing list