summaryrefslogtreecommitdiff
path: root/src/core/bus-endpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bus-endpoint.c')
-rw-r--r--src/core/bus-endpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bus-endpoint.c b/src/core/bus-endpoint.c
index 8d11974db4..1e8f07eb54 100644
--- a/src/core/bus-endpoint.c
+++ b/src/core/bus-endpoint.c
@@ -55,7 +55,7 @@ int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess a
return 0;
}
} else {
- ep->policy_hash = hashmap_new(string_hash_func, string_compare_func);
+ ep->policy_hash = hashmap_new(&string_hash_ops);
if (!ep->policy_hash)
return -ENOMEM;
}