summaryrefslogtreecommitdiff
path: root/src/udev/udev-watch.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-05-31 13:20:06 +0200
committerKay Sievers <kay@vrfy.org>2012-05-31 13:20:06 +0200
commit667e392408d6b56db981d8e76c31990501d0faf3 (patch)
tree9d60e15a778b250137f45e0114f6f46b78977eb9 /src/udev/udev-watch.c
parentc66e7f04997fb42b778703418097a5023fa17581 (diff)
udev: do not selinux label files in /run/udev
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 04609a776..1091ec8d6 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);
- mkdir_parents_label(filename, 0755);
+ mkdir_parents(filename, 0755);
unlink(filename);
symlink(udev_device_get_id_filename(dev), filename);