diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-11 16:18:05 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-11 19:00:53 -0700 |
commit | d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5 (patch) | |
tree | 35d234bd4a14e2391300f46ba8c22b1f9b8d42e7 /ripngd/ripng_interface.c | |
parent | 762cb0d0e116860bc72d7f0be3c048871da9512f (diff) | |
download | quagga-d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5.tar.bz2 quagga-d6dc4ba487f79ba79e5fb02f4c3e978fa1edeee5.tar.xz |
Fix compiler warnings from incorrect format strings
Mostly from incorrect usage of z option. Need to use:
printf(" size = %zd", x->size);
Diffstat (limited to 'ripngd/ripng_interface.c')
-rw-r--r-- | ripngd/ripng_interface.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); */ |