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:
Paul Jakma 2015-10-29 14:24:13 +00:00 committed by Donald Sharp
parent c5cb17ecec
commit 4d114a9423

View File

@ -40,7 +40,7 @@ static struct static_route * static_route_alloc()
s_route = XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(*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 s_route;