summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-queue.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-06-27 19:54:45 +0200
committerKay Sievers <kay@vrfy.org>2014-06-27 19:56:31 +0200
commit8a7a0c19edd2d971d4aa9d635f7978af841e8278 (patch)
tree407d4f84ad29c70b0baa99fdd50b5a5b8eff9694 /src/libudev/libudev-queue.c
parentdc6d4ea9a668e2efdf12eab9ff41209299bbfd20 (diff)
libudev: queue - watch entire directory to allow the re-use of the watch descriptor
Diffstat (limited to 'src/libudev/libudev-queue.c')
-rw-r--r--src/libudev/libudev-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-queue.c b/src/libudev/libudev-queue.c
index d4334b440d..8ef1f3d4b0 100644
--- a/src/libudev/libudev-queue.c
+++ b/src/libudev/libudev-queue.c
@@ -245,7 +245,7 @@ _public_ int udev_queue_get_fd(struct udev_queue *udev_queue) {
if (fd < 0)
return -errno;
- r = inotify_add_watch(fd, "/run/udev/queue" , IN_DELETE);
+ r = inotify_add_watch(fd, "/run/udev" , IN_DELETE);
if (r < 0) {
r = -errno;
close(fd);