Skip to content

Commit 183cf76

Browse files
authored
Merge pull request managarm#1821 from no92/_SC_GETGR_R_SIZE_MAX
options/posix: do not log on `_SC_GETGR_R_SIZE_MAX`
2 parents e993616 + 6b8284c commit 183cf76

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

options/posix/generic/unistd.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,6 @@ long sysconf(int number) {
984984
case _SC_GETPW_R_SIZE_MAX:
985985
return NSS_BUFLEN_PASSWD;
986986
case _SC_GETGR_R_SIZE_MAX:
987-
mlibc::infoLogger() << "\e[31mmlibc: sysconf(_SC_GETGR_R_SIZE_MAX) returns fallback value 1024\e[39m" << frg::endlog;
988987
return 1024;
989988
case _SC_CHILD_MAX:
990989
mlibc::infoLogger() << "\e[31mmlibc: sysconf(_SC_CHILD_MAX) returns fallback value 25\e[39m" << frg::endlog;

0 commit comments

Comments
 (0)