From 12aee8d9c127a85105b3e8f24cbcebc61c2db3e4 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 11 Aug 2022 21:16:15 +0200 Subject: vfs: support for removing files --- src/kernel/arch/amd64/driver/fsroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch') 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; } } -- cgit v1.2.3