summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2013-04-25 06:43:21 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2013-04-25 06:43:21 +0000
commit22fa7a0d6b1bf16508f64e347bf54adda43bf21c (patch)
treedc33991e99b823eb6b1a6a3a660fbdc1a9b6ea6b /sbin/dhclient/dhclient.c
parent4178f6843ad1f6377b10c1fe96b0a0a4ab4f2cd3 (diff)
big int_t/time_t fixes; ok deraadt@ krw@
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 59932f7aaaa..c07e0d7cc64 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.242 2013/03/30 16:10:01 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.243 2013/04/25 06:43:20 otto Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -1132,9 +1132,10 @@ send_discover(void)
client->bootrequest_packet.secs = htons(65535);
client->secs = client->bootrequest_packet.secs;
- note("DHCPDISCOVER on %s to %s port %d interval %d",
+ note("DHCPDISCOVER on %s to %s port %d interval %lld",
ifi->name, inet_ntoa(sockaddr_broadcast.sin_addr),
- ntohs(sockaddr_broadcast.sin_port), client->interval);
+ ntohs(sockaddr_broadcast.sin_port),
+ (long long)client->interval);
send_packet(inaddr_any, &sockaddr_broadcast, NULL);