diff options
author | Archie Pusaka <apusaka@chromium.org> | 2021-09-15 16:31:59 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-09-21 10:51:54 +0200 |
commit | 43f547d7e55ceae1825909b6d50f89320e7d81e8 (patch) | |
tree | 49dc8781b07923bbfd63bcbea46b8476c220c418 /tools/meshctl.c | |
parent | 048f2ac0e4fcc19cf9b1f8fc9525a1dec21ab87f (diff) | |
download | bluez-43f547d7e55ceae1825909b6d50f89320e7d81e8.tar.gz |
tools: Inclusive language changes
BT core spec 5.3 promotes the usage of inclusive languages.
This CL replaces some terms with the more appropriate counterparts,
such as "central", "peripheral", "accept list", "reject list", and
"temporary link key". Note that some suggestions come from
https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/meshctl.c')
-rw-r--r-- | tools/meshctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/meshctl.c b/tools/meshctl.c index 9d7df2ccd..18e20c40d 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; |