diff options
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r-- | src/kernel/vfs/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 516e6e0..d6f348a 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -35,7 +35,7 @@ void vfsreq_finish(struct vfs_request *req, int ret) { // we need to wrap the id returned by the VFS in a handle passed to // the client if (req->caller) { - handle_t handle = process_find_handle(req->caller, 0); + handle_t handle = process_find_free_handle(req->caller, 0); if (handle < 0) panic_invalid_state(); // we check for free handles before the open() call |