From: Sascha Wildner Date: Sun, 22 Mar 2009 23:35:52 +0000 (+0100) Subject: mount_std(8): Raise WARNS to 6 and silence all warnings. X-Git-Tag: v2.3.1~219 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/3b7d9343193e3d0def22ee16e84c31cf0148fd29 mount_std(8): Raise WARNS to 6 and silence all warnings. --- diff --git a/sbin/mount_std/Makefile b/sbin/mount_std/Makefile index 181b0c28e9..6b236bb5df 100644 --- a/sbin/mount_std/Makefile +++ b/sbin/mount_std/Makefile @@ -2,7 +2,6 @@ # $FreeBSD: src/sbin/mount_std/Makefile,v 1.4.6.5 2003/02/10 12:21:07 des Exp $ # $DragonFly: src/sbin/mount_std/Makefile,v 1.3 2006/10/17 00:55:42 pavalos Exp $ -WARNS?= 2 PROG= mount_std SRCS= mount_std.c getmntopts.c MAN= mount_std.8 diff --git a/sbin/mount_std/mount_std.c b/sbin/mount_std/mount_std.c index 935ef5e538..e4c8e88603 100644 --- a/sbin/mount_std/mount_std.c +++ b/sbin/mount_std/mount_std.c @@ -53,7 +53,7 @@ static struct mntopt mopts[] = { MOPT_STDOPTS, - { NULL } + { .m_option = NULL } }; static void usage(void) __dead2;