From 4d114a94232e1525d79372dc8caa125dad209de1 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 29 Oct 2015 14:24:13 +0000 Subject: [PATCH] pimd: Fix size_t zlog_err format string warning * fc1c114aa / "pimd: Fix warning", the size_t arg should have a %zu format. --- pimd/pim_static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5