summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-07-28 11:58:51 +0100
committerPaul Jakma <paul@quagga.net>2009-07-28 11:58:51 +0100
commit30d205909c5a81cc306b161c16abff0fd7f566a7 (patch)
tree6f7532a4336cf601bbeab07d2669639a05409dfd /ospf6d
parentd023aec49f70156d2ed894a8fba65bcfa221ff02 (diff)
[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.
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_zebra.c5
1 files changed, 3 insertions, 2 deletions
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;