summaryrefslogtreecommitdiffstats
path: root/src/fuzz
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/fuzz
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/fuzz')
-rw-r--r--src/fuzz/fuzz-varlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-varlink.c b/src/fuzz/fuzz-varlink.c
index e98929d1c6..18db78ce98 100644
--- a/src/fuzz/fuzz-varlink.c
+++ b/src/fuzz/fuzz-varlink.c
@@ -41,7 +41,7 @@ static int io_callback(sd_event_source *s, int fd, uint32_t revents, void *userd
else
assert_se(errno == EAGAIN);
} else
- IOVEC_INCREMENT(iov, 1, n);
+ iovec_increment(iov, 1, n);
}
if (revents & EPOLLIN) {