summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-27 07:58:57 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-27 07:59:15 +0200
commit8a7935a23bfec14beb73e004beb01273254cf789 (patch)
tree3dd607c91d7f882d31c0c9ac55ec196e0c56516c /src/journal
parent278d4bcfe981d058380cf388e5ac09d761438820 (diff)
Do not use unitialized variable and remove duplicated line
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald-server.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index e888480284..4f47eb1c11 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -1270,7 +1270,6 @@ int process_event(Server *s, struct epoll_event *ev) {
if ((ev->events|EPOLLIN|EPOLLHUP) != (EPOLLIN|EPOLLHUP)) {
log_error("Got invalid event from epoll for %s: %"PRIx32,
"stdout stream", ev->events);
- log_error("Got invalid event from epoll.");
return -EIO;
}