summaryrefslogtreecommitdiff
path: root/src/core/nm-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nm-manager.c')
-rw-r--r--src/core/nm-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/nm-manager.c b/src/core/nm-manager.c
index ea71af3370..d9bc28e55e 100644
--- a/src/core/nm-manager.c
+++ b/src/core/nm-manager.c
@@ -7904,12 +7904,12 @@ nm_manager_set_capability(NMManager *self, NMCapability cap)
priv = NM_MANAGER_GET_PRIVATE(self);
- idx = nm_utils_array_find_binary_search(nm_g_array_index_p(priv->capabilities, guint32, 0),
- sizeof(guint32),
- priv->capabilities->len,
- &cap_i,
- nm_cmp_uint32_p_with_data,
- NULL);
+ idx = nm_array_find_bsearch(nm_g_array_index_p(priv->capabilities, guint32, 0),
+ sizeof(guint32),
+ priv->capabilities->len,
+ &cap_i,
+ nm_cmp_uint32_p_with_data,
+ NULL);
if (idx >= 0)
return;