svn commit: r229136 - stable/9/libexec/bootpd/bootpgw
Dimitry Andric
dim at FreeBSD.org
Sat Dec 31 19:19:20 UTC 2011
Author: dim
Date: Sat Dec 31 19:19:19 2011
New Revision: 229136
URL: http://svn.freebsd.org/changeset/base/229136
Log:
MFC r228581:
In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remaining
minutes of activity, to avoid a warning on platforms where time_t is a
32-bit integer.
Modified:
stable/9/libexec/bootpd/bootpgw/bootpgw.c
Directory Properties:
stable/9/libexec/bootpd/ (props changed)
Modified: stable/9/libexec/bootpd/bootpgw/bootpgw.c
==============================================================================
--- stable/9/libexec/bootpd/bootpgw/bootpgw.c Sat Dec 31 19:01:48 2011 (r229135)
+++ stable/9/libexec/bootpd/bootpgw/bootpgw.c Sat Dec 31 19:19:19 2011 (r229136)
@@ -452,7 +452,7 @@ main(argc, argv)
}
if (!(readfds & (1 << s))) {
report(LOG_INFO, "exiting after %ld minutes of inactivity",
- actualtimeout.tv_sec / 60);
+ (long)(actualtimeout.tv_sec / 60));
exit(0);
}
ra_len = sizeof(recv_addr);
More information about the svn-src-stable-9
mailing list