From: Donald Sharp Date: Fri, 6 May 2016 23:32:00 +0000 (-0400) Subject: ospf6d: Fix printf % code usage X-Git-Tag: frr-2.0-rc1~902 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=79c5d9f3334fc72a4bcb349eb357c7319768bb88;p=mirror%2Ffrr.git ospf6d: Fix printf % code usage Use correct % code in printf statement. Signed-off-by: Donald Sharp Reviewed-by: Don Slice Reviewed-by: Daniel Walton --- diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index a111a2148d..b192d6850b 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -931,7 +931,7 @@ ospf6_interface_show (struct vty *vty, struct interface *ifp) "disabled" : "enabled", VNL); inet_ntop (AF_INET, &oi->area->area_id, strbuf, sizeof (strbuf)); - vty_out (vty, " Area ID %s, Cost %hu%s", strbuf, oi->cost, + vty_out (vty, " Area ID %s, Cost %u%s", strbuf, oi->cost, VNL); } else