chiark / gitweb /
log: allow negative errno values
[elogind.git] / src / binfmt / binfmt.c
index c1c152239bed496e8c37d353e8bc7d3b2c1182b1..0a15fafc6092d3ab0577e4c3aa6a4174857be678 100644 (file)
 #include "fileio.h"
 #include "build.h"
 
-static const char conf_file_dirs[] =
-        "/etc/binfmt.d\0"
-        "/run/binfmt.d\0"
-        "/usr/local/lib/binfmt.d\0"
-        "/usr/lib/binfmt.d\0"
-#ifdef HAVE_SPLIT_USR
-        "/lib/binfmt.d\0"
-#endif
-        ;
+static const char conf_file_dirs[] = CONF_DIRS_NULSTR("binfmt");
 
 static int delete_rule(const char *rule) {
         _cleanup_free_ char *x = NULL, *fn = NULL;