From 50f20cfdb0f127e415ab38c024d9ca7a3602f74b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 19 Dec 2011 22:35:46 +0100 Subject: journal: implement inotify-based live logging logic --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index e5b5e53f7e..37942de534 100644 --- a/src/util.c +++ b/src/util.c @@ -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; -- cgit v1.2.3-54-g00ecf