summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
authordzwdz2021-09-12 22:14:28 +0200
committerdzwdz2021-09-12 22:14:28 +0200
commitbfef3846f0048eee855af27406fd5d9b17a17677 (patch)
treea3a306b84181960a58432daad648b4fe28898d08 /src/kernel/vfs
parent83db2397dbcd05e9c7b4e0968f6a53edff1103d4 (diff)
fix typo; use the right union element
the values are the same, it only caused a warning in sparse
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c
index 0524c53..5836b94 100644
--- a/src/kernel/vfs/request.c
+++ b/src/kernel/vfs/request.c
@@ -58,7 +58,7 @@ _Noreturn void vfs_request_pass2handler(struct vfs_request *req) {
goto fail; // can't copy buffer
} else {
if (!virt_cpy(handler->pages, handler->awaited_req.buf,
- req->caller->pages, req->input.buf_kern, len))
+ req->caller->pages, req->input.buf, len))
goto fail; // can't copy buffer
}