c11 safe string handling support
[vpp.git] / src / vppinfra / time_range.c
index e502ca3..ea95284 100644 (file)
@@ -19,7 +19,7 @@ void
 clib_timebase_init (clib_timebase_t * tb, i32 timezone_offset_in_hours,
                    clib_timebase_daylight_time_t daylight_type)
 {
-  memset (tb, 0, sizeof (*tb));
+  clib_memset (tb, 0, sizeof (*tb));
 
   clib_time_init (&tb->clib_time);
   tb->time_zero = unix_time_now ();