mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 20:10:10 +01:00
platform: minor fix in nm_platform_link_to_string()
This had not real consequences, because @master and @parent are of the same size.
This commit is contained in:
parent
2189c7c75b
commit
677d802be6
1 changed files with 1 additions and 1 deletions
|
|
@ -2360,7 +2360,7 @@ nm_platform_link_to_string (const NMPlatformLink *link)
|
|||
master[0] = 0;
|
||||
|
||||
if (link->parent)
|
||||
g_snprintf (parent, sizeof (master), "@%d", link->parent);
|
||||
g_snprintf (parent, sizeof (parent), "@%d", link->parent);
|
||||
else
|
||||
parent[0] = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue