chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libsystemd-network: fix writing of routes in dhcp lease file
[elogind.git]
/
src
/
resolve
/
resolved-dns-cache.c
diff --git
a/src/resolve/resolved-dns-cache.c
b/src/resolve/resolved-dns-cache.c
index 733ef6348dd105f821062967a5a71e94eef87ebf..33ca4d1a4549fc184b8a53c1e3efb4c291c7bac5 100644
(file)
--- a/
src/resolve/resolved-dns-cache.c
+++ b/
src/resolve/resolved-dns-cache.c
@@
-186,7
+186,7
@@
static int dns_cache_init(DnsCache *c) {
if (r < 0)
return r;
- r = hashmap_ensure_allocated(&c->by_key,
dns_resource_key_hash_func, dns_resource_key_compare_func
);
+ r = hashmap_ensure_allocated(&c->by_key,
&dns_resource_key_hash_ops
);
if (r < 0)
return r;