]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journal-send.c
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / journal / journal-send.c
index 0da07a1941ee6a9660d7b80180ca415e6cb36812..a0621524a9bfcec8fb1f9130d344feaa0a03c17c 100644 (file)
@@ -1,9 +1,4 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  This file is part of systemd.
-
-  Copyright 2011 Lennart Poettering
-***/
 
 #include <errno.h>
 #include <fcntl.h>
@@ -518,7 +513,7 @@ _public_ int sd_journal_sendv_with_location(
         assert_return(iov, -EINVAL);
         assert_return(n > 0, -EINVAL);
 
-        niov = alloca(sizeof(struct iovec) * (n + 3));
+        niov = newa(struct iovec, n + 3);
         memcpy(niov, iov, sizeof(struct iovec) * n);
 
         ALLOCA_CODE_FUNC(f, func);