platform: minor fix in nm_platform_link_to_string()

This had not real consequences, because @master and @parent are of
the same size.

(cherry picked from commit 677d802be6)
This commit is contained in:
Thomas Haller 2015-08-17 18:31:12 +02:00
parent 6370f7b926
commit c2c192cd45

View file

@ -2355,7 +2355,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;