summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/fsroot.c
diff options
context:
space:
mode:
authordzwdz2022-08-05 15:54:32 +0200
committerdzwdz2022-08-05 15:54:32 +0200
commit99e15199ef24d4f262683b47a529f1b239c4dcd9 (patch)
tree7d4514964c91fc1c46da39cb830fdec165166730 /src/kernel/arch/amd64/driver/fsroot.c
parent0f3c70649a3d8035b0c0f9658705505948b2c60a (diff)
add _syscall_getsize
Diffstat (limited to 'src/kernel/arch/amd64/driver/fsroot.c')
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c4
1 files changed, 2 insertions, 2 deletions
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();
}