summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-05-07 01:32:00 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-05-19 16:42:12 +0200
commit79c5d9f3334fc72a4bcb349eb357c7319768bb88 (patch)
treee9b2845b0e209289f04d6acb66817339511db569 /ospf6d
parentbgpd: Fix function return (diff)
downloadfrr-79c5d9f3334fc72a4bcb349eb357c7319768bb88.tar.xz
frr-79c5d9f3334fc72a4bcb349eb357c7319768bb88.zip
ospf6d: Fix printf % code usage
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>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index a111a2148..b192d6850 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