host stack: update stale copyright
[vpp.git] / src / svm / test_svm_message_queue.c
index 758163f..84719e6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 Cisco and/or its affiliates.
+ * Copyright (c) 2018-2019 Cisco and/or its affiliates.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at:
@@ -35,7 +35,7 @@ test1 (int verbose)
   void *oldheap;
   int i;
 
-  memset (ssvm, 0, sizeof (*ssvm));
+  clib_memset (ssvm, 0, sizeof (*ssvm));
 
   ssvm->ssvm_size = 1 << 20;
   ssvm->i_am_master = 1;
@@ -169,6 +169,7 @@ main (int argc, char *argv[])
   unformat_input_t i;
   int r;
 
+  clib_mem_init_thread_safe (0, 256 << 20);
   unformat_init_command_line (&i, argv);
   r = test_svm_message_queue (&i);
   unformat_free (&i);