From: Donald Sharp Date: Thu, 6 Jul 2017 20:48:57 +0000 (-0400) Subject: pimd: Fix unininitialized data usage found by clang X-Git-Tag: frr-4.0-dev~468^2~25 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=74d1799ae6e5905965ae0cece473f9269a1bf1fa;p=mirror%2Ffrr.git pimd: Fix unininitialized data usage found by clang clang 5.0 to the rescue! Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c index 5febd5c1ff..afd9aa4779 100644 --- a/pimd/pim_ifchannel.c +++ b/pimd/pim_ifchannel.c @@ -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; }