pimd: Fix unininitialized data usage found by clang

clang 5.0 to the rescue!

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-07-06 16:48:57 -04:00
parent d3a551b952
commit 74d1799ae6

View File

@ -526,7 +526,7 @@ struct pim_ifchannel *pim_ifchannel_add(struct interface *ifp,
if (!ch) {
zlog_warn(
"%s: pim_ifchannel_new() failure for (S,G)=%s on interface %s",
__PRETTY_FUNCTION__, up->sg_str, ifp->name);
__PRETTY_FUNCTION__, pim_str_sg_dump(sg), ifp->name);
return NULL;
}