Commit adc1e6c2 by Michel Normand Committed by Daniel Lezcano

typo in error message

Wrong variable. Signed-off-by: 's avatarMichel Normand <normand@fr.ibm.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 0a3ec350
...@@ -1000,7 +1000,7 @@ static int setup_netdev(struct lxc_netdev *netdev) ...@@ -1000,7 +1000,7 @@ static int setup_netdev(struct lxc_netdev *netdev)
/* rename the interface name */ /* rename the interface name */
if (lxc_device_rename(ifname, netdev->name)) { if (lxc_device_rename(ifname, netdev->name)) {
ERROR("failed to rename %s->%s", ifname, current_ifname); ERROR("failed to rename %s->%s", ifname, netdev->name);
return -1; return -1;
} }
......
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