From 99e15199ef24d4f262683b47a529f1b239c4dcd9 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 5 Aug 2022 15:54:32 +0200 Subject: add _syscall_getsize --- src/kernel/arch/amd64/driver/fsroot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/arch/amd64/driver/fsroot.c') diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c index 41fe136..0970d0b 100644 --- a/src/kernel/arch/amd64/driver/fsroot.c +++ b/src/kernel/arch/amd64/driver/fsroot.c @@ -76,8 +76,8 @@ static int handle(struct vfs_request *req) { default: panic_invalid_state(); } - case VFSOP_CLOSE: - return 0; + case VFSOP_CLOSE: return 0; + case VFSOP_GETSIZE: return -ENOSYS; default: panic_invalid_state(); } -- cgit v1.2.3