From 43b33396701874eb4b4f51d8016e7e0b0156996c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 15 Sep 2019 20:53:21 +0200 Subject: [PATCH] interfaces: don't log errno when detecting loops --- src/daemon/interfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/interfaces.c b/src/daemon/interfaces.c index 953e9711..f9785f97 100644 --- a/src/daemon/interfaces.c +++ b/src/daemon/interfaces.c @@ -255,7 +255,7 @@ iface_append_vlan_to_lower(struct lldpd *cfg, int depth) { if (depth > 5) { - log_warn("interfaces", + log_warnx("interfaces", "BUG: maximum depth reached when applying VLAN %s (loop?)", vlan->name); return; -- 2.39.5