From: Thomas Parrott Date: Tue, 9 Jun 2020 12:03:37 +0000 (+0100) Subject: network: Fix int type in log message X-Git-Tag: lxc-5.0.0~421^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72e8122b445909c94775f75e8121e987739ee043;p=thirdparty%2Flxc.git network: Fix int type in log message Signed-off-by: Thomas Parrott --- diff --git a/src/lxc/network.c b/src/lxc/network.c index f206be55b..058469b1e 100644 --- a/src/lxc/network.c +++ b/src/lxc/network.c @@ -445,12 +445,11 @@ static int lxc_ovs_setup_bridge_vlan_exec(void *data) rc = snprintf(buf, sizeof(buf), "%u", args->vlan_id); if (rc < 0 || (size_t)rc >= sizeof(buf)) - return log_error_errno(-1, EINVAL, "Failed to parse ovs bridge vlan \"%u\"", args->vlan_id); + return log_error_errno(-1, EINVAL, "Failed to parse ovs bridge vlan \"%d\"", args->vlan_id); tag = must_concat(NULL, "tag=", buf, (char *)NULL); } - if (args->trunks) trunks = must_concat(NULL, "trunks=", args->trunks, (char *)NULL);