Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
vppinfra
/
fifo.c
diff --git
a/src/vppinfra/fifo.c
b/src/vppinfra/fifo.c
index
5b4c76d
..
e3b7b41
100644
(file)
--- a/
src/vppinfra/fifo.c
+++ b/
src/vppinfra/fifo.c
@@
-121,7
+121,7
@@
_clib_fifo_resize (void *v_old, uword n_new_elts, uword elt_bytes)
/* Zero empty space. */
n_zero_bytes = (n_new_elts - n_old_elts) * elt_bytes;
/* Zero empty space. */
n_zero_bytes = (n_new_elts - n_old_elts) * elt_bytes;
- memset (v_new + n_copy_bytes, 0, n_zero_bytes);
+
clib_
memset (v_new + n_copy_bytes, 0, n_zero_bytes);
clib_fifo_free (v_old);
clib_fifo_free (v_old);