diff options
author | Paul Jakma <paul@jakma.org> | 2015-10-29 14:24:13 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-10-29 14:24:13 +0000 |
commit | ffe794426af2b142ecfed7021d34d8f868857219 (patch) | |
tree | 4fdc504cf91226dc257acd0a478cab9e324c476d | |
parent | 283596fd6d49a5b2861a6923db9a88628ef0eca4 (diff) | |
download | quagga-ffe794426af2b142ecfed7021d34d8f868857219.tar.bz2 quagga-ffe794426af2b142ecfed7021d34d8f868857219.tar.xz |
pimd: Fix size_t zlog_err format string warning
* fc1c114aa / "pimd: Fix warning", the size_t arg should have a %zu format.
-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 e43c59a5..cbbcaaa9 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c @@ -42,7 +42,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; |