diff options
Diffstat (limited to 'src/journal/journald-kmsg.c')
-rw-r--r-- | src/journal/journald-kmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-kmsg.c b/src/journal/journald-kmsg.c index 1bad7cb2ee..36f16a1ec8 100644 --- a/src/journal/journald-kmsg.c +++ b/src/journal/journald-kmsg.c @@ -335,7 +335,7 @@ static int server_read_dev_kmsg(Server *s) { return 0; } - if (errno == EAGAIN || errno == EINTR || errno == EPIPE) + if (IN_SET(errno, EAGAIN, EINTR, EPIPE)) return 0; return log_error_errno(errno, "Failed to read from kernel: %m"); |