From: Paul Jakma Date: Thu, 29 Oct 2015 14:24:13 +0000 (+0000) Subject: pimd: Fix size_t zlog_err format string warning X-Git-Tag: frr-2.0-rc1~840 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4d114a94232e1525d79372dc8caa125dad209de1;p=mirror%2Ffrr.git pimd: Fix size_t zlog_err format string warning * fc1c114aa / "pimd: Fix warning", the size_t arg should have a %zu format. --- diff --git a/pimd/pim_static.c b/pimd/pim_static.c index cb40814a6e..26743b5961 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c @@ -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;