summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-infiniband.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-09-18 12:53:19 -0500
committerDan Williams <dcbw@redhat.com>2015-05-06 16:14:25 -0500
commit2abda4bfa59bfd6de8da69741f2c5f3304e46617 (patch)
treefd7cf0a2e49444835e74c1d8aff1518bff04b082 /src/devices/nm-device-infiniband.c
parent179d56c73c35e83368589b40a8a2d429b41a4dbf (diff)
downloadNetworkManager-2abda4bfa59bfd6de8da69741f2c5f3304e46617.tar.gz
platform: return link objects from add functions
Diffstat (limited to 'src/devices/nm-device-infiniband.c')
-rw-r--r--src/devices/nm-device-infiniband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-infiniband.c b/src/devices/nm-device-infiniband.c
index c7b8787c45..f9cd946d44 100644
--- a/src/devices/nm-device-infiniband.c
+++ b/src/devices/nm-device-infiniband.c
@@ -327,7 +327,7 @@ create_virtual_device_for_connection (NMDeviceFactory *factory,
parent_ifindex = nm_device_get_ifindex (parent);
p_key = nm_setting_infiniband_get_p_key (s_infiniband);
- if ( !nm_platform_infiniband_partition_add (NM_PLATFORM_GET, parent_ifindex, p_key)
+ if ( !nm_platform_infiniband_partition_add (NM_PLATFORM_GET, parent_ifindex, p_key, NULL)
&& nm_platform_get_error (NM_PLATFORM_GET) != NM_PLATFORM_ERROR_EXISTS) {
g_set_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_CREATION_FAILED,
"Failed to create InfiniBand P_Key interface '%s' for '%s': %s",