chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hashmap: introduce hash_ops to make struct Hashmap smaller
[elogind.git]
/
src
/
sysctl
/
sysctl.c
diff --git
a/src/sysctl/sysctl.c
b/src/sysctl/sysctl.c
index 8ce9870432c1e54772f3a7a0f43ecb4a62286f3b..4f9530baf8aad7c47def14c46dedf434f4ecce0a 100644
(file)
--- a/
src/sysctl/sysctl.c
+++ b/
src/sysctl/sysctl.c
@@
-292,7
+292,7
@@
int main(int argc, char *argv[]) {
umask(0022);
- sysctl_options = hashmap_new(
string_hash_func, string_compare_func
);
+ sysctl_options = hashmap_new(
&string_hash_ops
);
if (!sysctl_options) {
r = log_oom();
goto finish;