From ec3d2400db15e6911138d88f95cae141a9da2130 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 11 May 2024 20:55:10 +0200 Subject: kernel: remove HANDLE_NULLFS It was a dumb hack that wasn't even necessary - an error when mounting should shadow over the mountpoint anyways. --- src/libc/fs/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libc') 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; } -- cgit v1.2.3