chiark / gitweb /
fsckd: the error code is actually returned in 'fd'
[elogind.git] / src / login / logind-acl.c
index b76e16d9062a64a6d3b436c604cca59dba2d1a5e..941fd724a56e8a43c799884d4f9d2e65fa0c6613 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <assert.h>
 #include <errno.h>
 #include <string.h>
-#include <sys/acl.h>
-#include <acl/libacl.h>
 
 #include "util.h"
 #include "acl-util.h"
@@ -190,7 +187,7 @@ int devnode_acl_all(struct udev *udev,
 
         assert(udev);
 
-        nodes = set_new(string_hash_func, string_compare_func);
+        nodes = set_new(&string_hash_ops);
         if (!nodes)
                 return -ENOMEM;