chiark / gitweb /
journal: implement inotify-based live logging logic
[elogind.git] / src / util.c
index e5b5e53f7e1c8a5c19cc1e75539b5c2cf96eab3d..37942de534708c407a4308118bf1d86c988cd23e 100644 (file)
@@ -2674,7 +2674,7 @@ int acquire_terminal(const char *name, bool fail, bool force, bool ignore_tiocst
                         ssize_t l;
                         struct inotify_event *e;
 
-                        if ((l = read(notify, &inotify_buffer, sizeof(inotify_buffer))) < 0) {
+                        if ((l = read(notify, inotify_buffer, sizeof(inotify_buffer))) < 0) {
 
                                 if (errno == EINTR)
                                         continue;