chiark / gitweb /
import: print nice warning if we need btrfs but /var/lib/machines is not btrfs
[elogind.git] / src / libudev / libudev-queue.c
index d4334b440dacd706cf3a4df0761b1aa12fdaa1d1..11e15d13e62806014c494e97dfb57b5055c3bd3d 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
 #include <unistd.h>
 #include <errno.h>
-#include <string.h>
-#include <limits.h>
-#include <sys/stat.h>
 #include <sys/inotify.h>
 
-#include "libudev.h"
 #include "libudev-private.h"
 
 /**
@@ -245,7 +240,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);