summaryrefslogtreecommitdiffstats
path: root/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-node.c2
-rw-r--r--src/udev/udevadm.c2
-rw-r--r--src/udev/udevd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c
index e49e959cd8..098e8ed0cc 100644
--- a/src/udev/udev-node.c
+++ b/src/udev/udev-node.c
@@ -15,7 +15,7 @@
#include "format-util.h"
#include "fs-util.h"
#include "hexdecoct.h"
-#include "label.h"
+#include "label-util.h"
#include "mkdir-label.h"
#include "parse-util.h"
#include "path-util.h"
diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c
index b803f7bb0f..51dc041a29 100644
--- a/src/udev/udevadm.c
+++ b/src/udev/udevadm.c
@@ -130,7 +130,7 @@ static int run(int argc, char *argv[]) {
if (r <= 0)
return r;
- r = mac_selinux_init();
+ r = mac_init();
if (r < 0)
return r;
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index b3aabcaa1f..cf00576cfb 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -2019,7 +2019,7 @@ int run_udevd(int argc, char *argv[]) {
/* set umask before creating any file/directory */
umask(022);
- r = mac_selinux_init();
+ r = mac_init();
if (r < 0)
return r;