summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/capture/capture_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/capture/capture_support.c')
-rw-r--r--cpukit/libmisc/capture/capture_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/capture/capture_support.c b/cpukit/libmisc/capture/capture_support.c
index 60006e7dd8..4af8822c79 100644
--- a/cpukit/libmisc/capture/capture_support.c
+++ b/cpukit/libmisc/capture/capture_support.c
@@ -268,7 +268,7 @@ rtems_capture_print_trace_records (int total, bool csv)
rtems_capture_time last_time = 0;
int i;
- cpus = rtems_get_processor_count ();
+ cpus = rtems_scheduler_get_processor_maximum ();
per_cpu = calloc (cpus, sizeof(*per_cpu));
if (per_cpu == NULL)