svn commit: r252310 - in head: etc/defaults etc/rc.d include sbin/swapon share/man/man5

Glen Barber gjb at FreeBSD.org
Fri Jun 28 04:48:32 UTC 2013


On Thu, Jun 27, 2013 at 06:28:45PM +0000, Hiroki Sato wrote:
> Author: hrs
> Date: Thu Jun 27 18:28:45 2013
> New Revision: 252310
> URL: http://svnweb.freebsd.org/changeset/base/252310
> 
> Log:
>   - Add vnode-backed swap space specification support.  This is enabled when
>     device names "md" or "md[0-9]*" and a "file" option are specified in
>     /etc/fstab like this:
>   

[...]

I think this breaks the build.

cc1: warnings being treated as errors
/src/sbin/swapon/swapon.c: In function 'swap_on_off_gbde':
/src/sbin/swapon/swapon.c:251: warning: declaration of 'devname' shadows a global declaration
/obj/ia64.ia64/src/tmp/usr/include/stdlib.h:272: warning: shadowed declaration is here
/src/sbin/swapon/swapon.c: In function 'swap_on_off_geli':
/src/sbin/swapon/swapon.c:323: warning: declaration of 'devname' shadows a global declaration
/obj/ia64.ia64/src/tmp/usr/include/stdlib.h:272: warning: shadowed declaration is here
/src/sbin/swapon/swapon.c:394: warning: cast discards qualifiers from pointer target type
*** Error code 1

Stop.
make: stopped in /src/sbin/swapon
*** Error code 1

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130628/f17ce01a/attachment.sig>


More information about the svn-src-all mailing list