summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-17 18:31:12 +0200
committerThomas Haller <thaller@redhat.com>2015-08-25 22:25:23 +0200
commit677d802be60d1dd21d9bc4dc85ce7edb073021d9 (patch)
tree9c55d6643e82cd2692728b204eb7bb4d09ff0df0
parent2189c7c75bacd2e5445e562270e11f4070d55626 (diff)
downloadNetworkManager-677d802be60d1dd21d9bc4dc85ce7edb073021d9.tar.gz
platform: minor fix in nm_platform_link_to_string()
This had not real consequences, because @master and @parent are of the same size.
-rw-r--r--src/platform/nm-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index 5888ed5c87..fd1f5bd029 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -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;