Missed some empty lines

This commit is contained in:
apio 2022-10-12 20:51:24 +02:00
parent 2dd3a23092
commit b0e1b8a2b2

View File

@ -152,14 +152,12 @@ void sys_close(Context* context, int fd)
{ {
if (fd >= TASK_MAX_FDS || fd < 0) if (fd >= TASK_MAX_FDS || fd < 0)
{ {
context->rax = -EBADF; context->rax = -EBADF;
return; return;
} }
Task* current_task = Scheduler::current_task(); Task* current_task = Scheduler::current_task();
if (!current_task->files[fd].is_open()) if (!current_task->files[fd].is_open())
{ {
context->rax = -EBADF; context->rax = -EBADF;
return; return;
} }