diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-08-10 10:19:57 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-08-16 12:52:56 +0200 |
commit | 7ab24710a67ab56a26a92e0bce23205298606125 (patch) | |
tree | dc26fe2632ab8c2d15ae165fd7516eb5251f7b18 /src/shared/barrier.c | |
parent | nspawn,shared: make ERRNO_IS_SECCOMP_FATAL an inline func with _NEG_ variant (diff) | |
download | systemd-7ab24710a67ab56a26a92e0bce23205298606125.tar.xz systemd-7ab24710a67ab56a26a92e0bce23205298606125.zip |
shared/barrier: remove parens
Diffstat (limited to 'src/shared/barrier.c')
-rw-r--r-- | src/shared/barrier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/barrier.c b/src/shared/barrier.c index d76a61a5db..bd5bdd7590 100644 --- a/src/shared/barrier.c +++ b/src/shared/barrier.c @@ -175,9 +175,9 @@ static bool barrier_write(Barrier *b, uint64_t buf) { return false; assert(b->me >= 0); - do { + do len = write(b->me, &buf, sizeof(buf)); - } while (len < 0 && ERRNO_IS_TRANSIENT(errno)); + while (len < 0 && ERRNO_IS_TRANSIENT(errno)); if (len != sizeof(buf)) goto error; |