summaryrefslogtreecommitdiffstats
path: root/libc/bionic/sysconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/sysconf.cpp')
-rw-r--r--libc/bionic/sysconf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/sysconf.cpp b/libc/bionic/sysconf.cpp
index 8309f08..7734e40 100644
--- a/libc/bionic/sysconf.cpp
+++ b/libc/bionic/sysconf.cpp
@@ -150,7 +150,7 @@ static int __sysconf_monotonic_clock() {
return (rc == -1) ? -1 : _POSIX_VERSION;
}
-int sysconf(int name) {
+long sysconf(int name) {
switch (name) {
#ifdef _POSIX_ARG_MAX
case _SC_ARG_MAX: return _POSIX_ARG_MAX;