From 79c5d9f3334fc72a4bcb349eb357c7319768bb88 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 6 May 2016 19:32:00 -0400 Subject: [PATCH] ospf6d: Fix printf % code usage Use correct % code in printf statement. Signed-off-by: Donald Sharp Reviewed-by: Don Slice Reviewed-by: Daniel Walton --- ospf6d/ospf6_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5