summaryrefslogtreecommitdiffstats
path: root/src/libsystemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-10-19 16:36:43 +0200
committerLennart Poettering <lennart@poettering.net>2023-10-20 10:43:50 +0200
commit986235a99a2f2c8be96720d857c7530f9e36603b (patch)
tree6fcbd933f2207cc978b650f3ef95f3ee43266d4e /src/libsystemd
parentiovec-util: make IOVEC_MAKE_STRING() safer (diff)
downloadsystemd-986235a99a2f2c8be96720d857c7530f9e36603b.tar.xz
systemd-986235a99a2f2c8be96720d857c7530f9e36603b.zip
iovec-util: make IOVEC_INCREMENT a regular function too
Even more than with the previous commit, this is not a trivial function and there's no reason to believe this will actually be inlined nor that it would be beneficial.
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-daemon/sd-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/sd-daemon/sd-daemon.c
index 8986596b70..7c370ab7bc 100644
--- a/src/libsystemd/sd-daemon/sd-daemon.c
+++ b/src/libsystemd/sd-daemon/sd-daemon.c
@@ -592,7 +592,7 @@ static int pid_notify_with_fds_internal(
msghdr.msg_control = NULL;
msghdr.msg_controllen = 0;
}
- } while (!IOVEC_INCREMENT(msghdr.msg_iov, msghdr.msg_iovlen, n));
+ } while (!iovec_increment(msghdr.msg_iov, msghdr.msg_iovlen, n));
return 1;
}