mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 23:21:10 +00:00
pimd: Fix size_t zlog_err format string warning
* fc1c114aa / "pimd: Fix warning", the size_t arg should have a %zu format.
This commit is contained in:
parent
c5cb17ecec
commit
4d114a9423
@ -40,7 +40,7 @@ static struct static_route * static_route_alloc()
|
|||||||
|
|
||||||
s_route = XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(*s_route));
|
s_route = XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(*s_route));
|
||||||
if (!s_route) {
|
if (!s_route) {
|
||||||
zlog_err("PIM XCALLOC(%u) failure", sizeof(*s_route));
|
zlog_err("PIM XCALLOC(%zu) failure", sizeof(*s_route));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return s_route;
|
return s_route;
|
||||||
|
Loading…
Reference in New Issue
Block a user