commit | ffe794426af2b142ecfed7021d34d8f868857219 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@jakma.org> | Thu Oct 29 14:24:13 2015 +0000 |
committer | Paul Jakma <paul@quagga.net> | Thu Oct 29 14:24:13 2015 +0000 |
tree | 4fdc504cf91226dc257acd0a478cab9e324c476d | |
parent | 283596fd6d49a5b2861a6923db9a88628ef0eca4 [diff] [blame] |
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 e43c59a..cbbcaaa 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c
@@ -42,7 +42,7 @@ 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;