mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Kernel: Access OpenFileDescriptions::max_open() statically in Syscalls
This commit is contained in:
parent
c860e0ab95
commit
f38d32535c
4 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ ErrorOr<FlatPtr> Process::sys$sysconf(int name)
|
|||
case _SC_NPROCESSORS_ONLN:
|
||||
return Processor::processor_count();
|
||||
case _SC_OPEN_MAX:
|
||||
return fds().max_open();
|
||||
return OpenFileDescriptions::max_open();
|
||||
case _SC_PAGESIZE:
|
||||
return PAGE_SIZE;
|
||||
case _SC_HOST_NAME_MAX:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue