Browse Source

ospfd: Fix arm compile issue

size_t printf formatter is %zd!

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp 3 years ago
parent
commit
c2c63cb3d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ospfd/ospf_spf.c

+ 1 - 1
ospfd/ospf_spf.c

@@ -1290,7 +1290,7 @@ ospf_spf_calculate (struct ospf_area *area, struct route_table *new_table,
   area->ts_spf = area->ospf->ts_spf;
 
   if (IS_DEBUG_OSPF_EVENT)
-    zlog_debug ("ospf_spf_calculate: Stop. %ld vertices",
+    zlog_debug ("ospf_spf_calculate: Stop. %zd vertices",
                 mtype_stats_alloc(MTYPE_OSPF_VERTEX));
 
   /* Free SPF vertices, but not the list. List has ospf_vertex_free