oopsie
This commit is contained in:
parent
b8296eb92d
commit
a2d9ada4dc
@ -311,7 +311,7 @@ void sys_close(Context* context, int fd)
|
||||
{
|
||||
int err;
|
||||
Descriptor* file = Scheduler::current_task()->descriptor_from_fd(fd, err);
|
||||
if (!err)
|
||||
if (!file)
|
||||
{
|
||||
context->rax = -err;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user