[Midnightbsd-cvs] src [6584] trunk/usr.sbin/daemon: drop warns

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Dec 29 23:18:34 EST 2013


Revision: 6584
          http://svnweb.midnightbsd.org/src/?rev=6584
Author:   laffer1
Date:     2013-12-29 23:18:34 -0500 (Sun, 29 Dec 2013)
Log Message:
-----------
drop warns

Modified Paths:
--------------
    trunk/usr.sbin/daemon/Makefile
    trunk/usr.sbin/daemon/daemon.c

Modified: trunk/usr.sbin/daemon/Makefile
===================================================================
--- trunk/usr.sbin/daemon/Makefile	2013-12-30 04:16:12 UTC (rev 6583)
+++ trunk/usr.sbin/daemon/Makefile	2013-12-30 04:18:34 UTC (rev 6584)
@@ -7,6 +7,4 @@
 DPADD=	${LIBUTIL}
 LDADD=	-lutil
 
-WARNS?=	6
-
 .include <bsd.prog.mk>

Modified: trunk/usr.sbin/daemon/daemon.c
===================================================================
--- trunk/usr.sbin/daemon/daemon.c	2013-12-30 04:16:12 UTC (rev 6583)
+++ trunk/usr.sbin/daemon/daemon.c	2013-12-30 04:18:34 UTC (rev 6584)
@@ -62,7 +62,7 @@
 	nochdir = noclose = 1;
 	restart = 0;
 	pidfile = user = NULL;
-	while ((ch = getopt(argc, argv, "-cfp:ru:")) != -1) {
+	while ((ch = getopt(argc, argv, "cfp:ru:")) != -1) {
 		switch (ch) {
 		case 'c':
 			nochdir = 0;



More information about the Midnightbsd-cvs mailing list