c11 safe string handling support
[vpp.git] / src / vpp / api / json_format.c
index 63454b8..e001be0 100644 (file)
@@ -245,7 +245,7 @@ void
 vat_json_print (FILE * ofp, vat_json_node_t * node)
 {
   vat_print_ctx_t ctx;
-  memset (&ctx, 0, sizeof ctx);
+  clib_memset (&ctx, 0, sizeof ctx);
   ctx.indent = 0;
   ctx.ofp = ofp;
   fformat (ofp, "\n");