libc: unistd: lib_getrlimit: use INT_MAX as dummy rlim_max value.
Signed-off-by: Takeyoshi Kikuchi <kikuchi@centurysys.co.jp>
This commit is contained in:
parent
2e5a20612c
commit
c4fc414b09
|
@ -61,7 +61,7 @@ int getrlimit(int resource, FAR struct rlimit *rlp)
|
|||
case RLIMIT_NOFILE:
|
||||
{
|
||||
rlp->rlim_cur = 128;
|
||||
rlp->rlim_max = 1024 * 1024; /* dummy */
|
||||
rlp->rlim_max = INT_MAX; /* dummy */
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue