From: Archie Pusaka <apusaka@xxxxxxxxxxxx> Use "parent" to describe the hierarchy. --- tools/meshctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/meshctl.c b/tools/meshctl.c index 9d7df2ccdc..18e20c40d2 100644 --- a/tools/meshctl.c +++ b/tools/meshctl.c @@ -541,19 +541,19 @@ static void print_uuids(GDBusProxy *proxy) } } -static gboolean device_is_child(GDBusProxy *device, GDBusProxy *master) +static gboolean device_is_child(GDBusProxy *device, GDBusProxy *parent) { DBusMessageIter iter; const char *adapter, *path; - if (!master) + if (!parent) return FALSE; if (g_dbus_proxy_get_property(device, "Adapter", &iter) == FALSE) return FALSE; dbus_message_iter_get_basic(&iter, &adapter); - path = g_dbus_proxy_get_path(master); + path = g_dbus_proxy_get_path(parent); if (!strcmp(path, adapter)) return TRUE; -- 2.33.0.rc1.237.g0d66db33f3-goog