chiark / gitweb /
rename config "filename" to "dir"
[elogind.git] / udevd.c
diff --git a/udevd.c b/udevd.c
index 3adedac0807b722cd9c9b38dc665387feff33de0..79465a1da08afe289f4d3b1ba3c4487ff06f8bde 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -1104,7 +1104,7 @@ int main(int argc, char *argv[], char *envp[])
        /* watch rules directory */
        inotify_fd = inotify_init();
        if (inotify_fd >= 0)
-               inotify_add_watch(inotify_fd, udev_rules_filename, IN_CREATE | IN_DELETE | IN_MOVE | IN_CLOSE_WRITE);
+               inotify_add_watch(inotify_fd, udev_rules_dir, IN_CREATE | IN_DELETE | IN_MOVE | IN_CLOSE_WRITE);
        else if (errno == ENOSYS)
                err("the kernel does not support inotify, udevd can't monitor configuration file changes");
        else