chiark / gitweb /
bus-proxy: drop one wrong assert()
[elogind.git] / src / readahead / readahead-collect.c
index c1afd0d605226259a74ac458601faa2f886a5544..822a803a41dde0f12fe78ce64c4f1c1718ace899 100644 (file)
@@ -52,7 +52,7 @@
 #include <sys/fanotify.h>
 #endif
 
-#include <systemd/sd-daemon.h>
+#include "systemd/sd-daemon.h"
 
 #include "missing.h"
 #include "util.h"
@@ -282,7 +282,7 @@ static int collect(const char *root) {
                 goto finish;
         }
 
-        files = hashmap_new(string_hash_func, string_compare_func);
+        files = hashmap_new(&string_hash_ops);
         if (!files) {
                 log_error("Failed to allocate set.");
                 r = -ENOMEM;