summaryrefslogtreecommitdiff
path: root/verify_blkparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'verify_blkparse.c')
-rw-r--r--verify_blkparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/verify_blkparse.c b/verify_blkparse.c
index 5689f43..3f3e92a 100644
--- a/verify_blkparse.c
+++ b/verify_blkparse.c
@@ -16,8 +16,8 @@ int main(int argc, char *argv[])
unsigned int seq;
FILE *f;
-#ifdef _SC_NPROCESSORS_CONF
- MAX_CPUS = sysconf(_SC_NPROCESSORS_CONF);
+#ifdef _SC_NPROCESSORS_ONLN
+ MAX_CPUS = sysconf(_SC_NPROCESSORS_ONLN);
if (MAX_CPUS < 1)
{
fprintf(stderr, "Could not determine number of CPUs online:\n%s\n",