summaryrefslogtreecommitdiffstats
path: root/lib/thread.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 20:43:26 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 20:44:53 +0100
commit0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (patch)
treedb39fd913f349a353a62ead250210aab49a8cc09 /lib/thread.c
parentMerge pull request #5924 from donaldsharp/more_func (diff)
downloadfrr-0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980.tar.xz
frr-0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980.zip
*: Replace `sizeof something` to sizeof(something)
Satisfy checkpatch.pl requirements (check for sizeof without parenthesis) Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
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;