aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-03-20 23:16:15 -0700
committerDave Barach <openvpp@barachs.net>2019-03-21 22:09:44 +0000
commit9e041b10ee3e6566c7e2ef0c581afafe57569e82 (patch)
treeb717f7f7a8668355d7d5bd32714fdd3f3577b3b0 /src/vppinfra
parent4b76112dc43b775abd3deb2d9f65458ca08424ee (diff)
vec: use memset in vec_resize_allocate_memory
Change-Id: I0ed28846060a774b1f6cdc1e4e5974a7e16f9f16 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/vec.c b/src/vppinfra/vec.c
index 232eb4d4c24..32788286a63 100644
--- a/src/vppinfra/vec.c
+++ b/src/vppinfra/vec.c
@@ -100,7 +100,7 @@ vec_resize_allocate_memory (void *v,
v = new;
/* Zero new memory. */
- clib_memset (v + old_alloc_bytes, 0, new_alloc_bytes - old_alloc_bytes);
+ memset (v + old_alloc_bytes, 0, new_alloc_bytes - old_alloc_bytes);
return v + header_bytes;
}