From 633a6a43209a18071b68041e67850bd2d6b556e7 Mon Sep 17 00:00:00 2001 From: pluknet Date: Wed, 25 Dec 2013 16:01:29 +0000 Subject: [PATCH] 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. MFC after: 1 week --- lib/libc/sys/swapon.2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index b3e44741499a..6879513ce300 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