mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 22:40:10 +01:00
trivial: don't shadown link(3) in NMFakePlatform
This commit is contained in:
parent
e7381662fe
commit
32a53f786d
1 changed files with 2 additions and 2 deletions
|
|
@ -162,12 +162,12 @@ link_get_all (NMPlatform *platform)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
_nm_platform_link_get (NMPlatform *platform, int ifindex, NMPlatformLink *link)
|
||||
_nm_platform_link_get (NMPlatform *platform, int ifindex, NMPlatformLink *l)
|
||||
{
|
||||
NMFakePlatformLink *device = link_get (platform, ifindex);
|
||||
|
||||
if (device)
|
||||
*link = device->link;
|
||||
*l = device->link;
|
||||
return !!device;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue