ikev2: per thread usage of openssl context
[vpp.git] / src / plugins / acl / acl_test.c
index e559f3a..c139b32 100644 (file)
@@ -615,10 +615,13 @@ api_acl_add_replace_from_file (vat_main_t * vam)
          break;
       }
 
+    if (file_name == NULL)
+        goto done;
+
     fd = open(file_name, O_RDONLY);
     if (fd < 0)
       {
-        clib_warning("Could not open file '%s'");
+        clib_warning("Could not open file '%s'", file_name);
         goto done;
       }