Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 16:01:30 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259872 - head/lib/libc/sys
Message-ID:  <201312251601.rBPG1UTP094680@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Wed Dec 25 16:01:29 2013
New Revision: 259872
URL: http://svnweb.freebsd.org/changeset/base/259872

Log:
  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

Modified:
  head/lib/libc/sys/swapon.2

Modified: head/lib/libc/sys/swapon.2
==============================================================================
--- head/lib/libc/sys/swapon.2	Wed Dec 25 15:40:15 2013	(r259871)
+++ head/lib/libc/sys/swapon.2	Wed Dec 25 16:01:29 2013	(r259872)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312251601.rBPG1UTP094680>