summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/driver/fsroot.c
diff options
context:
space:
mode:
authordzwdz2022-07-07 20:29:13 +0200
committerdzwdz2022-07-07 20:29:13 +0200
commite567ebeee5ea196128f15adcf30cec5dd1137f90 (patch)
tree1226f0376dbe25fd6d86524f01e6848812aee0ae /src/kernel/arch/i386/driver/fsroot.c
parentbbdacaddcc25d1d137a0bb0781eba603641baa92 (diff)
kernel: add the vfsreq_finish_short shorthand function
Diffstat (limited to 'src/kernel/arch/i386/driver/fsroot.c')
-rw-r--r--src/kernel/arch/i386/driver/fsroot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/driver/fsroot.c b/src/kernel/arch/i386/driver/fsroot.c
index 10cf3bc..ccba0b6 100644
--- a/src/kernel/arch/i386/driver/fsroot.c
+++ b/src/kernel/arch/i386/driver/fsroot.c
@@ -134,9 +134,9 @@ static int handle(struct vfs_request *req) {
static void accept(struct vfs_request *req) {
if (req->caller) {
- vfsreq_finish(req, handle(req), 0, NULL);
+ vfsreq_finish_short(req, handle(req));
} else {
- vfsreq_finish(req, -1, 0, NULL);
+ vfsreq_finish_short(req, -1);
}
}