summaryrefslogtreecommitdiff
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-22 18:21:15 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-22 18:22:26 +0100
commit8f2d43a0121bc9a57ba8b79b33d5ac87d36ca2f2 (patch)
treeaed32140e2106ba430bb6bec62c0575d045eb7a4 /src/journal/journalctl.c
parent1733ca5475786c31031626a68804b26019426ad8 (diff)
cgtop: add new cgtop tool
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 52db7a9365..8db3fc9201 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -282,7 +282,7 @@ int main(int argc, char *argv[]) {
if (!arg_follow)
break;
- r = fd_wait_for_event(fd, POLLIN);
+ r = fd_wait_for_event(fd, POLLIN, (usec_t) -1);
if (r < 0) {
log_error("Couldn't wait for event: %s", strerror(-r));
goto finish;