]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: Fix printf % code usage
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 May 2016 23:32:00 +0000 (19:32 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 19 May 2016 14:42:12 +0000 (10:42 -0400)
Use correct % code in printf statement.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
ospf6d/ospf6_interface.c

index a111a2148dc646f31c2fdc12a623f1d3de630a23..b192d6850b6da7a5db6186ae341eda5806f63bb2 100644 (file)
@@ -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