diff options
Diffstat (limited to 'src/vppinfra/time.c')
-rw-r--r-- | src/vppinfra/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/time.c b/src/vppinfra/time.c index d647e670dad..afb1a867ec7 100644 --- a/src/vppinfra/time.c +++ b/src/vppinfra/time.c @@ -177,7 +177,7 @@ os_cpu_clock_frequency (void) void clib_time_init (clib_time_t * c) { - memset (c, 0, sizeof (c[0])); + clib_memset (c, 0, sizeof (c[0])); c->clocks_per_second = os_cpu_clock_frequency (); c->seconds_per_clock = 1 / c->clocks_per_second; c->log2_clocks_per_second = min_log2_u64 ((u64) c->clocks_per_second); |