diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-04-19 13:09:56 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-04-19 13:09:56 +0300 |
commit | 69f9c0126aad8b67e5ef8731337d2b901b143291 (patch) | |
tree | 7ac7138852c3882a249689e741d2ab010da932d3 /main/musl/getconf.c | |
parent | 1267385a781361be65d8af662f215fbc43b9476b (diff) | |
download | aports-69f9c0126aad8b67e5ef8731337d2b901b143291.tar.bz2 aports-69f9c0126aad8b67e5ef8731337d2b901b143291.tar.xz |
main/musl: cherry-pick upstream fix, fix recently added getconf names
Diffstat (limited to 'main/musl/getconf.c')
-rw-r--r-- | main/musl/getconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/musl/getconf.c b/main/musl/getconf.c index 683dd7ce31..0c698bc5e3 100644 --- a/main/musl/getconf.c +++ b/main/musl/getconf.c @@ -168,8 +168,8 @@ static const struct conf_variable conf_table[] = { "GETPW_R_SIZE_MAX", SYSCONF, _SC_GETPW_R_SIZE_MAX }, /* Commonly provided extensions */ - { "_SC_PHYS_PAGES", SYSCONF, _SC_PHYS_PAGES }, - { "_SC_AVPHYS_PAGES", SYSCONF, _SC_AVPHYS_PAGES }, + { "_PHYS_PAGES", SYSCONF, _SC_PHYS_PAGES }, + { "_AVPHYS_PAGES", SYSCONF, _SC_AVPHYS_PAGES }, { "_NPROCESSORS_CONF", SYSCONF, _SC_NPROCESSORS_CONF }, { "_NPROCESSORS_ONLN", SYSCONF, _SC_NPROCESSORS_ONLN }, |