summaryrefslogtreecommitdiff
path: root/udev/udev_utils_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_utils_file.c')
-rw-r--r--udev/udev_utils_file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/udev/udev_utils_file.c b/udev/udev_utils_file.c
index 7ccb5b4039..b8b4d10d21 100644
--- a/udev/udev_utils_file.c
+++ b/udev/udev_utils_file.c
@@ -30,7 +30,6 @@
#include <sys/mman.h>
#include "udev.h"
-#include "udev_selinux.h"
int create_path(struct udev *udev, const char *path)
{
@@ -56,9 +55,9 @@ int create_path(struct udev *udev, const char *path)
return -1;
dbg(udev, "mkdir '%s'\n", p);
- selinux_setfscreatecon(udev, p, NULL, S_IFDIR|0755);
+ udev_selinux_setfscreatecon(udev, p, S_IFDIR|0755);
ret = mkdir(p, 0755);
- selinux_resetfscreatecon(udev);
+ udev_selinux_resetfscreatecon(udev);
if (ret == 0)
return 0;