summaryrefslogtreecommitdiff
path: root/src/udev/udev-watch.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-17 00:26:02 +0200
committerKay Sievers <kay@vrfy.org>2012-04-17 01:09:39 +0200
commit9e13dbae509605dba1bde7e7385086b59acb428e (patch)
treeab3b5cdbdcf358212727f2aa181186d4b5973832 /src/udev/udev-watch.c
parentf13b388f97bc3ba8db844bd3413d510e2466a0b6 (diff)
udev: replace util_create_path() with mkdir_parents()
Diffstat (limited to 'src/udev/udev-watch.c')
-rw-r--r--src/udev/udev-watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-watch.c b/src/udev/udev-watch.c
index 7d5b30bd68..1091ec8d69 100644
--- a/src/udev/udev-watch.c
+++ b/src/udev/udev-watch.c
@@ -111,7 +111,7 @@ void udev_watch_begin(struct udev *udev, struct udev_device *dev)
}
snprintf(filename, sizeof(filename), "/run/udev/watch/%d", wd);
- util_create_path(udev, filename);
+ mkdir_parents(filename, 0755);
unlink(filename);
symlink(udev_device_get_id_filename(dev), filename);