mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 19:37:35 +00:00
Kernel: Don't crash on invalid fcntl
This commit is contained in:
parent
b24cfd36ae
commit
dce3faff08
1 changed files with 1 additions and 1 deletions
|
@ -1865,7 +1865,7 @@ int Process::sys$fcntl(int fd, int cmd, u32 arg)
|
||||||
description->set_file_flags(arg);
|
description->set_file_flags(arg);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ASSERT_NOT_REACHED();
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue