chiark / gitweb /
shared/cgroup-show: fix leak of "pid"
[elogind.git] / src / readahead / readahead-collect.c
index 643a5a8ceaa560d8f87b58dca802a3c12fa750a2..b2d0f6872646adc08e92000582c9361c006ca978 100644 (file)
@@ -291,8 +291,7 @@ static int collect(const char *root) {
                 goto finish;
         }
 
-        fanotify_fd = fanotify_init(FAN_CLOEXEC|FAN_NONBLOCK,
-                                    O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_NOATIME);
+        fanotify_fd = fanotify_init(FAN_CLOEXEC|FAN_NONBLOCK, O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_NOATIME);
         if (fanotify_fd < 0)  {
                 log_error("Failed to create fanotify object: %m");
                 r = -errno;