]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpcli: fix a format warning
authorVincent Bernat <vincent@bernat.im>
Wed, 21 May 2014 15:21:40 +0000 (17:21 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 21 May 2014 15:21:40 +0000 (17:21 +0200)
src/client/conf-lldp.c

index 6b963dc8c979a3ccc327b5d655a66203b9803e63..64553c8092ca732fd621b392d3c1163b56b1bc56 100644 (file)
@@ -110,7 +110,7 @@ cmd_portid_type(struct lldpctl_conn_t *conn, struct writer *w,
                return 0;
        }
 
-       log_info("lldpctl", "LLDP PortID TLV type set to new value : %s", arg);
+       log_info("lldpctl", "LLDP PortID TLV type set to new value : %s", value_str);
        lldpctl_atom_dec_ref(config);
 
        return 1;