summaryrefslogtreecommitdiff
path: root/src/libc/fs/misc.c
diff options
context:
space:
mode:
authordzwdz2024-05-11 20:55:10 +0200
committerdzwdz2024-05-11 20:55:10 +0200
commitec3d2400db15e6911138d88f95cae141a9da2130 (patch)
tree243ae2e52a428529bb050caaed332185c465a7d5 /src/libc/fs/misc.c
parente4ebea27b2f339706da76a3e79cb63ea9ed97c38 (diff)
kernel: remove HANDLE_NULLFS
It was a dumb hack that wasn't even necessary - an error when mounting should shadow over the mountpoint anyways.
Diffstat (limited to 'src/libc/fs/misc.c')
-rw-r--r--src/libc/fs/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc/fs/misc.c b/src/libc/fs/misc.c
index f0925ba..d7013e8 100644
--- a/src/libc/fs/misc.c
+++ b/src/libc/fs/misc.c
@@ -164,7 +164,7 @@ int mount_at(const char *path) {
_sys_mount(h, path, strlen(path));
close(h);
} else {
- _sys_mount(HANDLE_NULLFS, path, strlen(path));
+ _sys_mount(-1, path, strlen(path));
}
return ret;
}