From 9031b0d0a7f357934082eb745e5900618e00da84 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 27 Jun 2014 19:54:45 +0200 Subject: libudev: queue - watch entire directory to allow the re-use of the watch descriptor Signed-off-by: Anthony G. Basile --- src/libudev/libudev-queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libudev') 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); -- cgit v1.2.3-54-g00ecf