diff options
Diffstat (limited to 'src/journal/journald-stream.c')
-rw-r--r-- | src/journal/journald-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c index 26909840da..d94b1df02d 100644 --- a/src/journal/journald-stream.c +++ b/src/journal/journald-stream.c @@ -588,7 +588,7 @@ static int stdout_stream_process(sd_event_source *es, int fd, uint32_t revents, l = recvmsg(s->fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); if (l < 0) { - if (IN_SET(errno, EINTR, EAGAIN)) + if (ERRNO_IS_TRANSIENT(errno)) return 0; log_warning_errno(errno, "Failed to read from stream: %m"); |