summaryrefslogtreecommitdiffstats
path: root/sbin/routed/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/if.c')
-rw-r--r--sbin/routed/if.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/routed/if.c b/sbin/routed/if.c
index 1c185d7..9160e6f 100644
--- a/sbin/routed/if.c
+++ b/sbin/routed/if.c
@@ -29,6 +29,8 @@
* $FreeBSD$
*/
+#include <stdint.h>
+
#include "defs.h"
#include "pathnames.h"
@@ -948,9 +950,9 @@ ifinit(void)
} else if (now.tv_sec>(ifp->int_data.ts
+ CHECK_BAD_INTERVAL)) {
trace_act("interface %s has been off"
- " %ld seconds; forget it",
+ " %jd seconds; forget it",
ifp->int_name,
- (long)now.tv_sec-
+ (intmax_t)now.tv_sec -
ifp->int_data.ts);
ifdel(ifp);
}
OpenPOWER on IntegriCloud