diff options
Diffstat (limited to 'lib/thread.c')
-rw-r--r-- | lib/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c index 651d26dfb..2217a60f0 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -171,7 +171,7 @@ static void cpu_record_print(struct vty *vty, uint8_t filter) struct thread_master *m; struct listnode *ln; - memset(&tmp, 0, sizeof tmp); + memset(&tmp, 0, sizeof(tmp)); tmp.funcname = "TOTAL"; tmp.types = filter; |