summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index f4076b1357..e2cd9050e5 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1301,7 +1301,7 @@ int main(int argc, char *argv[]) {
IN_DELETE | IN_MOVE | IN_CLOSE_WRITE);
if (access(UDEV_ROOT_RUN "/udev/rules.d", F_OK) < 0) {
- mkdir_p(UDEV_ROOT_RUN "/udev/rules.d", 0755);
+ udev_mkdir_p(UDEV_ROOT_RUN "/udev/rules.d", 0755);
}
inotify_add_watch(fd_inotify, UDEV_ROOT_RUN "/udev/rules.d",
IN_DELETE | IN_MOVE | IN_CLOSE_WRITE);