From d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 11 Jul 2008 16:18:05 -0700 Subject: Fix compiler warnings from incorrect format strings Mostly from incorrect usage of z option. Need to use: printf(" size = %zd", x->size); --- ripngd/ripng_interface.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ripngd/ripng_interface.c') diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index c25677e7..cad6240b 100644 --- a/ripngd/ripng_interface.c +++ b/ripngd/ripng_interface.c @@ -294,7 +294,8 @@ ripng_interface_add (int command, struct zclient *zclient, zebra_size_t length) if (IS_RIPNG_DEBUG_ZEBRA) zlog_debug ("RIPng interface add %s index %d flags %#llx metric %d mtu %d", - ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu6); + ifp->name, ifp->ifindex, (unsigned long long) ifp->flags, + ifp->metric, ifp->mtu6); /* Check is this interface is RIP enabled or not.*/ ripng_enable_apply (ifp); @@ -327,7 +328,8 @@ ripng_interface_delete (int command, struct zclient *zclient, } zlog_info("interface delete %s index %d flags %#llx metric %d mtu %d", - ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu6); + ifp->name, ifp->ifindex, (unsigned long long) ifp->flags, + ifp->metric, ifp->mtu6); /* To support pseudo interface do not free interface structure. */ /* if_delete(ifp); */ -- cgit v1.2.3