mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 20:48:27 +00:00
lib: fix sizeof expression (Coverity 1455482)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
9eafc8abd7
commit
883cc51dfe
@ -60,7 +60,7 @@ static struct list *masters;
|
||||
/* CLI start ---------------------------------------------------------------- */
|
||||
static unsigned int cpu_record_hash_key(struct cpu_thread_history *a)
|
||||
{
|
||||
int size = sizeof(&a->func);
|
||||
int size = sizeof(a->func);
|
||||
|
||||
return jhash(&a->func, size, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user