vppinfra: refactor address sanitizer
[vpp.git] / src / plugins / unittest / string_test.c
index c59a05c..f0e40c5 100644 (file)
@@ -508,7 +508,7 @@ test_clib_strncmp (vlib_main_t * vm, unformat_input_t * input)
 
   /* unterminated s1 */
   s1[s1len] = 0x1;
-  CLIB_MEM_UNPOISON (s1, CLIB_STRING_MACRO_MAX);
+  clib_mem_unpoison (s1, CLIB_STRING_MACRO_MAX);
   indicator = clib_strncmp (s1, "Every moment is a fresh beginning",
                            sizeof ("every moment is a fresh beginning") - 1);
   if (indicator != 0)