]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal-send: drop redundant parenthesis 8799/head
authorLennart Poettering <lennart@poettering.net>
Fri, 27 Apr 2018 15:29:38 +0000 (17:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 27 Apr 2018 15:32:01 +0000 (17:32 +0200)
As suggested in @keszybz' comments on #8840

src/journal/journal-send.c

index e0526a02ca5e314a7b83f23ab528d332583f593c..ad7a5ea09c25d18096396172b54cb424905f6c48 100644 (file)
@@ -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);