From 30d205909c5a81cc306b161c16abff0fd7f566a7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 28 Jul 2009 11:58:51 +0100 Subject: [global] interface flags format warnings */*: ifp->flags is 64 bit unsigned which can not be handled by %l on 32 bit architectures - requires %ll and the appropriate cast. --- ospf6d/ospf6_zebra.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index 7083c966..0a8ac3e4 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -134,8 +134,9 @@ ospf6_zebra_if_state_update (int command, struct zclient *zclient, ifp = zebra_interface_state_read (zclient->ibuf); if (IS_OSPF6_DEBUG_ZEBRA (RECV)) zlog_debug ("Zebra Interface state change: " - "%s index %d flags %ld metric %d mtu %d", - ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu6); + "%s index %d flags %llx metric %d mtu %d", + ifp->name, ifp->ifindex, (unsigned long long)ifp->flags, + ifp->metric, ifp->mtu6); ospf6_interface_state_update (ifp); return 0; -- cgit v1.2.1