summaryrefslogtreecommitdiff
path: root/src/binfmt
diff options
context:
space:
mode:
Diffstat (limited to 'src/binfmt')
-rw-r--r--src/binfmt/binfmt.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index c1c152239b..0a15fafc60 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -36,15 +36,7 @@
#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;