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. MFC after: 1 week
This commit is contained in:
parent
edf500a77a
commit
5d0ce6a552
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228581
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user