summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/kroute.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-30 17:24:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-30 17:24:36 +0000
commit04fd1e04951aa3744171bb872789a4782f51d98f (patch)
tree53789b35ee884a9f77a81aec7f2258d208cd7086 /usr.sbin/ldpd/kroute.c
parentd9aa44e9206a04164a574645dc5b7457fe2fff31 (diff)
another simple %i to %d conversion for obviousness
Diffstat (limited to 'usr.sbin/ldpd/kroute.c')
-rw-r--r--usr.sbin/ldpd/kroute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/kroute.c b/usr.sbin/ldpd/kroute.c
index f7b632fa026..28c183598af 100644
--- a/usr.sbin/ldpd/kroute.c
+++ b/usr.sbin/ldpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.31 2013/10/15 21:54:19 renato Exp $ */
+/* $OpenBSD: kroute.c,v 1.32 2013/10/30 17:24:34 deraadt Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -884,7 +884,7 @@ if_newaddr(u_short ifindex, struct sockaddr_in *ifa, struct sockaddr_in *mask,
if (ifa == NULL || ifa->sin_family != AF_INET)
return;
if ((kif = kif_find(ifindex)) == NULL) {
- log_warnx("if_newaddr: corresponding if %i not found", ifindex);
+ log_warnx("if_newaddr: corresponding if %d not found", ifindex);
return;
}
a = ntohl(ifa->sin_addr.s_addr);
@@ -922,7 +922,7 @@ if_deladdr(u_short ifindex, struct sockaddr_in *ifa, struct sockaddr_in *mask,
if (ifa == NULL || ifa->sin_family != AF_INET)
return;
if ((kif = kif_find(ifindex)) == NULL) {
- log_warnx("if_deladdr: corresponding if %i not found", ifindex);
+ log_warnx("if_deladdr: corresponding if %d not found", ifindex);
return;
}