diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-17 00:26:02 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-17 01:09:39 +0200 |
commit | 9e13dbae509605dba1bde7e7385086b59acb428e (patch) | |
tree | ab3b5cdbdcf358212727f2aa181186d4b5973832 /src/udev/udev-watch.c | |
parent | f13b388f97bc3ba8db844bd3413d510e2466a0b6 (diff) |
udev: replace util_create_path() with mkdir_parents()
Diffstat (limited to 'src/udev/udev-watch.c')
-rw-r--r-- | src/udev/udev-watch.c | 2 |
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); |