Commit 72e8122b by Thomas Parrott

network: Fix int type in log message

parent d2f8b272
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment