From: Balázs Póka Date: Wed, 20 Nov 2019 19:57:28 +0000 (+0100) Subject: fix wrong order of bridge/nic in error message X-Git-Tag: lxc-4.0.0~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3190%2Fhead;p=thirdparty%2Flxc.git fix wrong order of bridge/nic in error message Signed-off-by: Balázs Póka --- diff --git a/src/lxc/network.c b/src/lxc/network.c index 65727f6b5..31282e4aa 100644 --- a/src/lxc/network.c +++ b/src/lxc/network.c @@ -2466,7 +2466,7 @@ int lxc_ovs_delete_port(const char *bridge, const char *nic) lxc_ovs_delete_port_exec, (void *)&args); if (ret < 0) { ERROR("Failed to delete \"%s\" from openvswitch bridge \"%s\": " - "%s", bridge, nic, cmd_output); + "%s", nic, bridge, cmd_output); return -1; } @@ -2494,7 +2494,7 @@ static int lxc_ovs_attach_bridge(const char *bridge, const char *nic) lxc_ovs_attach_bridge_exec, (void *)&args); if (ret < 0) { ERROR("Failed to attach \"%s\" to openvswitch bridge \"%s\": %s", - bridge, nic, cmd_output); + nic, bridge, cmd_output); return -1; }