mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 05:40:11 +01:00
platform/tests: fix infiniband_partition_delete() in fake platform
Fixes:9c323261ea('platform: use nm_utils_new_infiniband_name()') (cherry picked from commit6b28c2867b)
This commit is contained in:
parent
c6977592c3
commit
26e789bdcf
1 changed files with 1 additions and 1 deletions
|
|
@ -795,7 +795,7 @@ static gboolean
|
|||
infiniband_partition_delete(NMPlatform *platform, int parent, int p_key)
|
||||
{
|
||||
NMFakePlatformLink *parent_device;
|
||||
gs_free char *name = NULL;
|
||||
char name[IFNAMSIZ];
|
||||
|
||||
parent_device = link_get(platform, parent);
|
||||
g_return_val_if_fail(parent_device != NULL, FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue