summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-02 22:44:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-02 22:44:26 (GMT)
commite870fe601a5e0b4c0438b7d64dad999cc8c327f2 (patch)
treea4741e67903f6e1914e4566d6086d48470cea778 /Modules
parent2740af8cc48b0f310557c0630d613301b7a5c2d4 (diff)
downloadcpython-e870fe601a5e0b4c0438b7d64dad999cc8c327f2.zip
cpython-e870fe601a5e0b4c0438b7d64dad999cc8c327f2.tar.gz
cpython-e870fe601a5e0b4c0438b7d64dad999cc8c327f2.tar.bz2
make_new_cpu_set takes the number of cpus
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index bb13f47..d4ba9cf 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -4923,7 +4923,7 @@ cpu_set_richcompare(Py_cpu_set *set, Py_cpu_set *other, int op)
Py_INCREF(res); \
} \
else { \
- res = make_new_cpu_set(&cpu_set_type, left->size); \
+ res = make_new_cpu_set(&cpu_set_type, left->ncpus); \
if (!res) \
return NULL; \
} \