chiark / gitweb /
hashmap: introduce hash_ops to make struct Hashmap smaller
[elogind.git] / src / core / mount-setup.c
index cc2633e3bd2c02d1e09a2dd9a2628b830d536f39..23a66d2e957a5fc5d4f50870791a082ea7108cd8 100644 (file)
@@ -235,7 +235,7 @@ int mount_cgroup_controllers(char ***join_controllers) {
                 return 0;
         }
 
-        controllers = set_new(string_hash_func, string_compare_func);
+        controllers = set_new(&string_hash_ops);
         if (!controllers)
                 return log_oom();