diff options
-rw-r--r-- | trace-record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-record.c b/trace-record.c index 9d1218a..c029257 100644 --- a/trace-record.c +++ b/trace-record.c | |||
@@ -1160,7 +1160,7 @@ static int count_cpus(void) | |||
1160 | size_t n; | 1160 | size_t n; |
1161 | int r; | 1161 | int r; |
1162 | 1162 | ||
1163 | cpus = sysconf(_SC_NPROCESSORS_ONLN); | 1163 | cpus = sysconf(_SC_NPROCESSORS_CONF); |
1164 | if (cpus > 0) | 1164 | if (cpus > 0) |
1165 | return cpus; | 1165 | return cpus; |
1166 | 1166 | ||