summaryrefslogtreecommitdiff
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
parentd9aa44e9206a04164a574645dc5b7457fe2fff31 (diff)
another simple %i to %d conversion for obviousness
-rw-r--r--usr.sbin/ldpd/kroute.c6
-rw-r--r--usr.sbin/ospf6d/kroute.c6
-rw-r--r--usr.sbin/ospfd/kroute.c6
-rw-r--r--usr.sbin/snmpd/kroute.c6
4 files changed, 12 insertions, 12 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;
}
diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c
index 25556c66f89..6968a12fe13 100644
--- a/usr.sbin/ospf6d/kroute.c
+++ b/usr.sbin/ospf6d/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.42 2013/03/22 13:17:54 sthen Exp $ */
+/* $OpenBSD: kroute.c,v 1.43 2013/10/30 17:24:34 deraadt Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -768,7 +768,7 @@ if_newaddr(u_short ifindex, struct sockaddr_in6 *ifa, struct sockaddr_in6 *mask,
if (ifa == NULL || ifa->sin6_family != AF_INET6)
return;
if ((iface = if_find(ifindex)) == NULL) {
- log_warnx("if_newaddr: corresponding if %i not found", ifindex);
+ log_warnx("if_newaddr: corresponding if %d not found", ifindex);
return;
}
@@ -842,7 +842,7 @@ if_deladdr(u_short ifindex, struct sockaddr_in6 *ifa, struct sockaddr_in6 *mask,
if (ifa == NULL || ifa->sin6_family != AF_INET6)
return;
if ((iface = if_find(ifindex)) == NULL) {
- log_warnx("if_deladdr: corresponding if %i not found", ifindex);
+ log_warnx("if_deladdr: corresponding if %d not found", ifindex);
return;
}
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c
index 538573a919e..cdc697fb98c 100644
--- a/usr.sbin/ospfd/kroute.c
+++ b/usr.sbin/ospfd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.92 2013/06/01 16:00:21 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.93 2013/10/30 17:24:35 deraadt Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -1054,7 +1054,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;
}
if ((ka = calloc(1, sizeof(struct kif_addr))) == NULL)
@@ -1083,7 +1083,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;
}
diff --git a/usr.sbin/snmpd/kroute.c b/usr.sbin/snmpd/kroute.c
index 54cc8c1ce2e..1ed4d171883 100644
--- a/usr.sbin/snmpd/kroute.c
+++ b/usr.sbin/snmpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.23 2012/11/13 22:08:33 florian Exp $ */
+/* $OpenBSD: kroute.c,v 1.24 2013/10/30 17:24:35 deraadt Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@ -840,7 +840,7 @@ if_newaddr(u_short if_index, struct sockaddr *ifa, struct sockaddr *mask,
if (ifa == NULL)
return;
if ((kif = kif_find(if_index)) == NULL) {
- log_warnx("if_newaddr: corresponding if %i not found",
+ log_warnx("if_newaddr: corresponding if %d not found",
if_index);
return;
}
@@ -873,7 +873,7 @@ if_deladdr(u_short if_index, struct sockaddr *ifa, struct sockaddr *mask,
if (ifa == NULL)
return;
if ((kif = kif_find(if_index)) == NULL) {
- log_warnx("if_deladdr: corresponding if %i not found",
+ log_warnx("if_deladdr: corresponding if %d not found",
if_index);
return;
}