diff options
Diffstat (limited to 'src/vlib/buffer_serialize.c')
-rw-r--r-- | src/vlib/buffer_serialize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/buffer_serialize.c b/src/vlib/buffer_serialize.c index 48dcce3be90..5696882ae0d 100644 --- a/src/vlib/buffer_serialize.c +++ b/src/vlib/buffer_serialize.c @@ -170,7 +170,7 @@ serialize_open_vlib_helper (serialize_main_t * m, /* Initialize serialize main but save overflow buffer for re-use between calls. */ { u8 *save = m->stream.overflow_buffer; - memset (m, 0, sizeof (m[0])); + clib_memset (m, 0, sizeof (m[0])); m->stream.overflow_buffer = save; if (save) _vec_len (save) = 0; |