From: Zbigniew Jędrzejewski-Szmek Date: Mon, 9 Mar 2015 21:10:33 +0000 (-0400) Subject: journal: align comments to make them more legible X-Git-Tag: v220~833 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=288359dba1417703c7eaf008f153339c6c321412;p=platform%2Fupstream%2Fsystemd.git journal: align comments to make them more legible --- diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 0e33a0f..1e861d1 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -2795,14 +2795,15 @@ int journal_file_open_reliably( r = journal_file_open(fname, flags, mode, compress, seal, metrics, mmap_cache, template, ret); - if (r != -EBADMSG && /* corrupted */ - r != -ENODATA && /* truncated */ - r != -EHOSTDOWN && /* other machine */ - r != -EPROTONOSUPPORT && /* incompatible feature */ - r != -EBUSY && /* unclean shutdown */ - r != -ESHUTDOWN && /* already archived */ - r != -EIO && /* IO error, including SIGBUS on mmap */ - r != -EIDRM /* File has been deleted */) + if (!IN_SET(r, + -EBADMSG, /* corrupted */ + -ENODATA, /* truncated */ + -EHOSTDOWN, /* other machine */ + -EPROTONOSUPPORT, /* incompatible feature */ + -EBUSY, /* unclean shutdown */ + -ESHUTDOWN, /* already archived */ + -EIO, /* IO error, including SIGBUS on mmap */ + -EIDRM /* File has been deleted */)) return r; if ((flags & O_ACCMODE) == O_RDONLY)