From 3b7d9343193e3d0def22ee16e84c31cf0148fd29 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 23 Mar 2009 00:35:52 +0100 Subject: [PATCH] mount_std(8): Raise WARNS to 6 and silence all warnings. --- sbin/mount_std/Makefile | 1 - sbin/mount_std/mount_std.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.41.0