From: Vincent Bernat Date: Wed, 23 Sep 2015 08:25:02 +0000 (+0200) Subject: cdp: fix log message spelling X-Git-Tag: 0.8.0~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d19619a00755957bfc9a40b2ba2ba17dd1c6830;p=thirdparty%2Flldpd.git cdp: fix log message spelling --- diff --git a/src/daemon/protocols/cdp.c b/src/daemon/protocols/cdp.c index 5dfa20ea..8567679f 100644 --- a/src/daemon/protocols/cdp.c +++ b/src/daemon/protocols/cdp.c @@ -450,7 +450,7 @@ cdp_decode(struct lldpd *cfg, char *frame, int s, break; case CDP_TLV_PORT: if (tlv_len == 0) { - log_warn("cd[", "too short port description received"); + log_warn("cdp", "too short port description received"); goto malformed; } if ((port->p_descr = (char *)calloc(1, tlv_len + 1)) == NULL) {