chiark / gitweb /
bus: make use of sd_bus_try_close() in exit-on-idle services
[elogind.git] / src / binfmt / binfmt.c
index 3487602e467d88de14356f055151562e551c35e8..9fc5d4e4a45bb7b0738c9a76baa9d4900f33955f 100644 (file)
@@ -86,7 +86,7 @@ static int apply_file(const char *path, bool ignore_enoent) {
 
         assert(path);
 
-        r = search_and_fopen_nulstr(path, "re", conf_file_dirs, &f);
+        r = search_and_fopen_nulstr(path, "re", NULL, conf_file_dirs, &f);
         if (r < 0) {
                 if (ignore_enoent && r == -ENOENT)
                         return 0;
@@ -95,7 +95,7 @@ static int apply_file(const char *path, bool ignore_enoent) {
                 return r;
         }
 
-        log_debug("apply: %s\n", path);
+        log_debug("apply: %s", path);
         for (;;) {
                 char l[LINE_MAX], *p;
                 int k;