mount_std(8): Raise WARNS to 6 and silence all warnings.
authorSascha Wildner <saw@online.de>
Sun, 22 Mar 2009 23:35:52 +0000 (00:35 +0100)
committerSascha Wildner <saw@online.de>
Sun, 22 Mar 2009 23:35:52 +0000 (00:35 +0100)
sbin/mount_std/Makefile
sbin/mount_std/mount_std.c

index 181b0c2..6b236bb 100644 (file)
@@ -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
index 935ef5e..e4c8e88 100644 (file)
@@ -53,7 +53,7 @@
 
 static struct mntopt mopts[] = {
        MOPT_STDOPTS,
-       { NULL }
+       { .m_option = NULL }
 };
 
 static void    usage(void) __dead2;