]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
interfaces: don't log errno when detecting loops
authorVincent Bernat <vincent@bernat.ch>
Sun, 15 Sep 2019 18:53:21 +0000 (20:53 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 15 Sep 2019 18:53:21 +0000 (20:53 +0200)
src/daemon/interfaces.c

index 953e9711600bb5d0475f0ded0be9650ea52c648f..f9785f97217b7c41ac26d50af02c28f936d24739 100644 (file)
@@ -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;