summaryrefslogtreecommitdiff
path: root/lib9p/tests/test_server/fs_shutdown.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-07 15:23:29 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-12 02:28:40 -0600
commit2d7f2350559dde046e95bcc28c1f89f41f5a6d75 (patch)
tree374571661ef53086e6a9e025b9b344bf80451cb4 /lib9p/tests/test_server/fs_shutdown.c
parent4109b15224b08fe49297097d9891e4c584712400 (diff)
lib9p_srv: Adopt a pread_to-like interface
Diffstat (limited to 'lib9p/tests/test_server/fs_shutdown.c')
-rw-r--r--lib9p/tests/test_server/fs_shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/tests/test_server/fs_shutdown.c b/lib9p/tests/test_server/fs_shutdown.c
index 1afbaf3..22aca9e 100644
--- a/lib9p/tests/test_server/fs_shutdown.c
+++ b/lib9p/tests/test_server/fs_shutdown.c
@@ -96,7 +96,7 @@ static uint32_t_or_error shutdown_fio_pwrite(struct shutdown_fio *self, struct l
LO_CALL(LO_BOX(net_stream_listener, &self->parent->listeners[i]), close);
return ERROR_NEW_VAL(uint32_t, byte_count);
}
-static iovec_or_error shutdown_fio_pread(struct shutdown_fio *LM_UNUSED(self), struct lib9p_srv_ctx *LM_UNUSED(ctx),
- uint32_t LM_UNUSED(byte_count), uint64_t LM_UNUSED(byte_offset)) {
+static error shutdown_fio_pread(struct shutdown_fio *LM_UNUSED(self), struct lib9p_srv_ctx *LM_UNUSED(ctx),
+ lo_interface io_writer LM_UNUSED(dst), uint64_t LM_UNUSED(src_offset), uint32_t LM_UNUSED(count)) {
assert_notreached("not readable");
}