summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-19 22:35:46 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-19 22:35:46 +0100
commit50f20cfdb0f127e415ab38c024d9ca7a3602f74b (patch)
treeb8d2296305986c6aac11bad146d591a5638b642c /src/util.c
parent76318284fc970b30e9dc4c079960807345331dad (diff)
journal: implement inotify-based live logging logic
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
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;