]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix wrong order of bridge/nic in error message 3190/head
authorBalázs Póka <poka@idata.hu>
Wed, 20 Nov 2019 19:57:28 +0000 (20:57 +0100)
committerBalázs Póka <poka@idata.hu>
Wed, 20 Nov 2019 20:06:23 +0000 (21:06 +0100)
Signed-off-by: Balázs Póka <poka@idata.hu>
src/lxc/network.c

index 65727f6b5aecb7ef4febbb1efa86ffc990a4b019..31282e4aa129ae61da7620b698bd8f331b6f0209 100644 (file)
@@ -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;
        }