[Midnightbsd-cvs] src [7627] stable/0.8/libexec/bootpd/bootpgw: on amd64 this is a long but on i386 it is a int.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jun 2 21:56:10 EDT 2016


Revision: 7627
          http://svnweb.midnightbsd.org/src/?rev=7627
Author:   laffer1
Date:     2016-06-02 21:56:09 -0400 (Thu, 02 Jun 2016)
Log Message:
-----------
on amd64 this is a long but on i386 it is a int. turn down warns and revert the last change

Modified Paths:
--------------
    stable/0.8/libexec/bootpd/bootpgw/Makefile
    stable/0.8/libexec/bootpd/bootpgw/bootpgw.c

Modified: stable/0.8/libexec/bootpd/bootpgw/Makefile
===================================================================
--- stable/0.8/libexec/bootpd/bootpgw/Makefile	2016-05-31 22:44:27 UTC (rev 7626)
+++ stable/0.8/libexec/bootpd/bootpgw/Makefile	2016-06-03 01:56:09 UTC (rev 7627)
@@ -1,10 +1,13 @@
 # Makefile
 # $FreeBSD: src/libexec/bootpd/bootpgw/Makefile,v 1.6 2004/12/21 08:47:03 ru Exp $
+# $MidnightBSD$
 
 PROG=	bootpgw
 NO_MAN=
 SRCS=	bootpgw.c getif.c hwaddr.c report.c rtmsg.c
 
+WARNS=	0
+
 SRCDIR=	${.CURDIR}/..
 CFLAGS+=-I${SRCDIR}
 .PATH:	${SRCDIR}

Modified: stable/0.8/libexec/bootpd/bootpgw/bootpgw.c
===================================================================
--- stable/0.8/libexec/bootpd/bootpgw/bootpgw.c	2016-05-31 22:44:27 UTC (rev 7626)
+++ stable/0.8/libexec/bootpd/bootpgw/bootpgw.c	2016-06-03 01:56:09 UTC (rev 7627)
@@ -451,7 +451,7 @@
 			continue;
 		}
 		if (!(readfds & (1 << s))) {
-			report(LOG_INFO, "exiting after %d minutes of inactivity",
+			report(LOG_INFO, "exiting after %ld minutes of inactivity",
 				   actualtimeout.tv_sec / 60);
 			exit(0);
 		}



More information about the Midnightbsd-cvs mailing list