summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-04-27 17:29:38 +0200
committerLennart Poettering <lennart@poettering.net>2018-04-27 17:32:01 +0200
commit702bd55cfb532ec49695893a92c3e2b7059633fc (patch)
tree28db6622c16dd6a14478481fcd5936a242422e74 /src/journal
parent46b073298f71034bafd6f007d6b7e796e12153f2 (diff)
downloadsystemd-702bd55cfb532ec49695893a92c3e2b7059633fc.tar.gz
journal-send: drop redundant parenthesis
As suggested in @keszybz' comments on #8840
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c
index e0526a02ca..ad7a5ea09c 100644
--- a/src/journal/journal-send.c
+++ b/src/journal/journal-send.c
@@ -518,7 +518,7 @@ _public_ int sd_journal_sendv_with_location(
assert_return(iov, -EINVAL);
assert_return(n > 0, -EINVAL);
- niov = newa(struct iovec, (n + 3));
+ niov = newa(struct iovec, n + 3);
memcpy(niov, iov, sizeof(struct iovec) * n);
ALLOCA_CODE_FUNC(f, func);