diff --git a/libs/libc/unistd/lib_getrlimit.c b/libs/libc/unistd/lib_getrlimit.c index b77eed971e..c7ee60a235 100644 --- a/libs/libc/unistd/lib_getrlimit.c +++ b/libs/libc/unistd/lib_getrlimit.c @@ -60,8 +60,8 @@ int getrlimit(int resource, FAR struct rlimit *rlp) { case RLIMIT_NOFILE: { - rlp->rlim_cur = 128; - rlp->rlim_max = INT_MAX; /* dummy */ + rlp->rlim_cur = OPEN_MAX; + rlp->rlim_max = OPEN_MAX; } break;