1
Fork 0
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:
Hendiadyoin1 2021-12-18 18:39:18 +01:00 committed by Brian Gianforcaro
parent c860e0ab95
commit f38d32535c
4 changed files with 4 additions and 4 deletions

View file

@ -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: