summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/neighbor.c
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2016-07-18 21:20:32 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2016-07-18 21:20:32 +0000
commitb27a710ae4fb41fcda5b482bb9b3468295a7e185 (patch)
tree896372ade76f5613bba27248f0b17636e0ab78be /usr.sbin/ripd/neighbor.c
parent2ab79d7b84981de56445ae12856b4564d77dcaaa (diff)
add format attributes to log functions
ok florian@ claudio@
Diffstat (limited to 'usr.sbin/ripd/neighbor.c')
-rw-r--r--usr.sbin/ripd/neighbor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ripd/neighbor.c b/usr.sbin/ripd/neighbor.c
index cedb527b727..29f5b893519 100644
--- a/usr.sbin/ripd/neighbor.c
+++ b/usr.sbin/ripd/neighbor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neighbor.c,v 1.9 2007/10/24 19:50:33 claudio Exp $ */
+/* $OpenBSD: neighbor.c,v 1.10 2016/07/18 21:20:31 benno Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -196,7 +196,7 @@ nbr_new(u_int32_t nbr_id, struct iface *iface)
/* set event structures */
evtimer_set(&nbr->timeout_timer, nbr_timeout_timer, nbr);
- log_debug("nbr_new: neighbor ID %s, peerid %lu",
+ log_debug("nbr_new: neighbor ID %s, peerid %u",
inet_ntoa(nbr->id), nbr->peerid);
return (nbr);
@@ -211,7 +211,7 @@ nbr_act_del(struct nbr *nbr)
nbr->state != NBR_STA_REQ_RCVD)
nbr_failed_new(nbr);
- log_debug("nbr_del: neighbor ID %s, peerid %lu", inet_ntoa(nbr->id),
+ log_debug("nbr_del: neighbor ID %s, peerid %u", inet_ntoa(nbr->id),
nbr->peerid);
/* stop timer */