summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/hello.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2013-10-15 20:31:15 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2013-10-15 20:31:15 +0000
commitce8e1035c115cc6ad3ee8c97c20bc21842f743ce (patch)
treeb9beec15a2b2e895146f164966ecb71b3f02a600 /usr.sbin/ldpd/hello.c
parent56db73e157626c3b6e308d7faeebf40efc9e9897 (diff)
Improve debug and error logs.
OK claudio@
Diffstat (limited to 'usr.sbin/ldpd/hello.c')
-rw-r--r--usr.sbin/ldpd/hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/hello.c b/usr.sbin/ldpd/hello.c
index fff514570fd..05c140eebde 100644
--- a/usr.sbin/ldpd/hello.c
+++ b/usr.sbin/ldpd/hello.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hello.c,v 1.22 2013/10/15 20:21:24 renato Exp $ */
+/* $OpenBSD: hello.c,v 1.23 2013/10/15 20:31:13 renato Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -146,7 +146,7 @@ recv_hello(struct iface *iface, struct in_addr src, char *buf, u_int16_t len)
} else {
if (ldp.lspace_id != 0) {
log_debug("recv_hello: invalid label space "
- "ID %s, interface %s", ldp.lspace_id,
+ "ID %u, interface %s", ldp.lspace_id,
iface->name);
return;
}