networkd: netdev fixup copy paste error
authorSusant Sahani <susant@redhat.com>
Thu, 15 Sep 2016 04:48:59 +0000 (10:18 +0530)
committerSusant Sahani <susant@redhat.com>
Thu, 15 Sep 2016 04:48:59 +0000 (10:18 +0530)
src/network/networkd-netdev.c

index 583389c..897de9b 100644 (file)
@@ -34,7 +34,6 @@
 #include "string-util.h"
 
 const NetDevVTable * const netdev_vtable[_NETDEV_KIND_MAX] = {
-
         [NETDEV_KIND_BRIDGE] = &bridge_vtable,
         [NETDEV_KIND_BOND] = &bond_vtable,
         [NETDEV_KIND_VLAN] = &vlan_vtable,
@@ -516,7 +515,7 @@ static int netdev_create(NetDev *netdev, Link *link,
 
                 r = sd_netlink_message_close_container(m);
                 if (r < 0)
-                        return log_netdev_error_errno(netdev, r, "Could not append IFLA_LINKINFO attribute: %m");
+                        return log_netdev_error_errno(netdev, r, "Could not append IFLA_INFO_DATA attribute: %m");
 
                 r = sd_netlink_message_close_container(m);
                 if (r < 0)