diff options
author | Paul Jakma <paul@jakma.org> | 2015-10-29 15:24:13 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-05-26 02:38:33 +0200 |
commit | 4d114a94232e1525d79372dc8caa125dad209de1 (patch) | |
tree | 8c68b289554973017ff8ca5aba378e48f199da74 /pimd/pim_static.c | |
parent | pimd: Cleanup interface startup (diff) | |
download | frr-4d114a94232e1525d79372dc8caa125dad209de1.tar.xz frr-4d114a94232e1525d79372dc8caa125dad209de1.zip |
pimd: Fix size_t zlog_err format string warning
* fc1c114aa / "pimd: Fix warning", the size_t arg should have a %zu format.
Diffstat (limited to 'pimd/pim_static.c')
-rw-r--r-- | pimd/pim_static.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c index cb40814a6..26743b596 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; |