summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/sysconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/sysconf.c')
-rw-r--r--cpukit/posix/src/sysconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/sysconf.c b/cpukit/posix/src/sysconf.c
index c5f66f6f46..7227a6d11c 100644
--- a/cpukit/posix/src/sysconf.c
+++ b/cpukit/posix/src/sysconf.c
@@ -50,7 +50,7 @@ long sysconf(
case _SC_NPROCESSORS_CONF:
return (long) rtems_configuration_get_maximum_processors();
case _SC_NPROCESSORS_ONLN:
- return (long) rtems_get_processor_count();
+ return (long) rtems_scheduler_get_processor_maximum();
case _SC_POSIX_26_VERSION:
return (long) _POSIX_26_VERSION;
#if defined(__sparc__)