mirror of
git://github.com/lxc/lxc
synced 2025-09-05 09:00:32 +00:00
fix wrong order of bridge/nic in error message
Signed-off-by: Balázs Póka <poka@idata.hu>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user