From: Vincent Bernat Date: Sun, 15 Sep 2019 18:53:21 +0000 (+0200) Subject: interfaces: don't log errno when detecting loops X-Git-Tag: 1.0.5~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43b33396701874eb4b4f51d8016e7e0b0156996c;p=thirdparty%2Flldpd.git interfaces: don't log errno when detecting loops --- 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;