summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
authordzwdz2022-08-11 21:16:15 +0200
committerdzwdz2022-08-11 21:16:15 +0200
commit12aee8d9c127a85105b3e8f24cbcebc61c2db3e4 (patch)
tree627cefddb41a26f5e7c4ea7fb2537db8e9faf5f4 /src/kernel/arch
parent9438c2fdaf4e75c9218a5fde84f121a7a0abb457 (diff)
vfs: support for removing files
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c
index 7856fba..3bbf2d1 100644
--- a/src/kernel/arch/amd64/driver/fsroot.c
+++ b/src/kernel/arch/amd64/driver/fsroot.c
@@ -25,7 +25,7 @@ static int handle(struct vfs_request *req) {
// TODO getsize for the other kernel provided directories
case VFSOP_GETSIZE: return sizeof dir;
- default: return 0;
+ default: return -ENOSYS;
}
}