summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-28 11:09:26 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-28 11:13:02 +0200
commite08fe91d4a839860430825dadfbd5b1466a1f843 (patch)
tree2ba39b7ac988263db1b50df13caab2999e6da594 /pimd
parenttests: fix size confusion (diff)
downloadfrr-e08fe91d4a839860430825dadfbd5b1466a1f843.tar.xz
frr-e08fe91d4a839860430825dadfbd5b1466a1f843.zip
pimd: don't split format string from zlog call
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_igmp_mtrace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pimd/pim_igmp_mtrace.c b/pimd/pim_igmp_mtrace.c
index 1cecd976c..cac6fab27 100644
--- a/pimd/pim_igmp_mtrace.c
+++ b/pimd/pim_igmp_mtrace.c
@@ -271,11 +271,10 @@ static uint32_t query_arrival_time(void)
struct timeval tv;
uint32_t qat;
- char m_qat[] = "Query arrival time lookup failed: errno=%d: %s";
-
if (gettimeofday(&tv, NULL) < 0) {
if (PIM_DEBUG_MTRACE)
- zlog_warn(m_qat, errno, safe_strerror(errno));
+ zlog_warn("Query arrival time lookup failed: errno=%d: %s",
+ errno, safe_strerror(errno));
return 0;
}
/* not sure second offset correct, as I get different value */