diff options
author | pluknet <pluknet@FreeBSD.org> | 2014-01-02 16:37:23 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2014-01-02 16:37:23 +0000 |
commit | 74494d92390c5c2dfac4af64c55a886ffc4fd0c6 (patch) | |
tree | 209baadf0e49808767b771ec303267f9b6e79958 /lib/libc | |
parent | 988d1d6a86c3941c2f537ae7e296d82525bd321d (diff) | |
download | FreeBSD-src-74494d92390c5c2dfac4af64c55a886ffc4fd0c6.zip FreeBSD-src-74494d92390c5c2dfac4af64c55a886ffc4fd0c6.tar.gz |
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.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/swapon.2 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index b3e4474..6879513 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -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 |