summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6d/rde.c
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2016-06-06 15:57:44 +0000
committerbenno <benno@openbsd.org>2016-06-06 15:57:44 +0000
commit458b9d2e97117756a0a8b2960244b5911b71f2e7 (patch)
treef70de4020604cc9a10c1de394ef9e8035d201ead /usr.sbin/ospf6d/rde.c
parentadd format attributes to the proper functions and then fix the (diff)
downloadwireguard-openbsd-458b9d2e97117756a0a8b2960244b5911b71f2e7.tar.xz
wireguard-openbsd-458b9d2e97117756a0a8b2960244b5911b71f2e7.zip
add format attributes to the proper functions and then fix the
warning in rde.c
Diffstat (limited to 'usr.sbin/ospf6d/rde.c')
-rw-r--r--usr.sbin/ospf6d/rde.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c
index 1de5d140f40..8f06baf717b 100644
--- a/usr.sbin/ospf6d/rde.c
+++ b/usr.sbin/ospf6d/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.65 2015/12/05 13:12:41 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.66 2016/06/06 15:57:44 benno Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -356,7 +356,7 @@ rde_dispatch_imsg(int fd, short event, void *bula)
}
}
if (l != 0)
- log_warnx("rde_dispatch_imsg: peerid %lu, "
+ log_warnx("rde_dispatch_imsg: peerid %u, "
"trailing garbage in Database Description "
"packet", imsg.hdr.peerid);
@@ -387,7 +387,7 @@ rde_dispatch_imsg(int fd, short event, void *bula)
ntohs(v->lsa->hdr.len));
}
if (l != 0)
- log_warnx("rde_dispatch_imsg: peerid %lu, "
+ log_warnx("rde_dispatch_imsg: peerid %u, "
"trailing garbage in LS Request "
"packet", imsg.hdr.peerid);
break;