diff options
Diffstat (limited to 'src/user/fs/misc.c')
-rw-r--r-- | src/user/fs/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/fs/misc.c b/src/user/fs/misc.c index bf09718..b3e1a2c 100644 --- a/src/user/fs/misc.c +++ b/src/user/fs/misc.c @@ -9,7 +9,7 @@ bool fork2_n_mount(const char *path) { handle_t h; if (_syscall_fork(FORK_NEWFS, &h) > 0) { /* parent */ _syscall_mount(h, path, strlen(path)); - _syscall_close(h); + close(h); return true; } return false; @@ -129,7 +129,7 @@ void fs_dir_inject(const char *path) { case VFSOP_CLOSE: if (data->delegate >= 0) - _syscall_close(data->delegate); + close(data->delegate); _syscall_fs_respond(NULL, 0, 0); break; |