summaryrefslogtreecommitdiff
path: root/libexec/bootpd/bootpd.c
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2005-12-24 22:22:17 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2005-12-24 22:22:17 +0000
commit09c00166e46fe394db30efb6fc982761b2fb7b82 (patch)
tree99de98c38a690d4ece3fe809f6493bae7a25e39b /libexec/bootpd/bootpd.c
parentaefc1eb3325e47d4ce73e14c085addd60aa2ef84 (diff)
Notes
Diffstat (limited to 'libexec/bootpd/bootpd.c')
-rw-r--r--libexec/bootpd/bootpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c
index 239b26780a7c..b0a49b5cea9a 100644
--- a/libexec/bootpd/bootpd.c
+++ b/libexec/bootpd/bootpd.c
@@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$");
#include <paths.h>
#include <syslog.h>
#include <assert.h>
+#include <inttypes.h>
#ifdef NO_SETSID
# include <fcntl.h> /* for O_RDONLY, etc */
@@ -535,8 +536,8 @@ main(argc, argv)
}
if (!FD_ISSET(s, &readfds)) {
if (debug > 1)
- report(LOG_INFO, "exiting after %ld minutes of inactivity",
- actualtimeout.tv_sec / 60);
+ report(LOG_INFO, "exiting after %jd minutes of inactivity",
+ (intmax_t)actualtimeout.tv_sec / 60);
exit(0);
}
ra_len = sizeof(recv_addr);