summaryrefslogtreecommitdiffstats
path: root/src/modules/module-udev-detect.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-21 23:24:40 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-21 23:24:40 +0200
commit066e160bbd095afe79fc7ea79fbc88b8746960cc (patch)
tree0960d70cb1677d46c1e0711ff0da723aeb718c67 /src/modules/module-udev-detect.c
parent2d0120485c60e0eacc81d1e28e2993559350211b (diff)
udev: tell inotify to actually inform us about ACL changes
Diffstat (limited to 'src/modules/module-udev-detect.c')
-rw-r--r--src/modules/module-udev-detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
index 2fcbe216..1d67c0cc 100644
--- a/src/modules/module-udev-detect.c
+++ b/src/modules/module-udev-detect.c
@@ -389,7 +389,7 @@ static int setup_inotify(struct userdata *u) {
}
dev_snd = pa_sprintf_malloc("%s/snd", udev_get_dev_path(u->udev));
- r = inotify_add_watch(u->inotify_fd, dev_snd, IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
+ r = inotify_add_watch(u->inotify_fd, dev_snd, IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF);
pa_xfree(dev_snd);
if (r < 0) {