From e870fe601a5e0b4c0438b7d64dad999cc8c327f2 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 2 Aug 2011 17:44:26 -0500 Subject: make_new_cpu_set takes the number of cpus --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ } \ -- cgit v0.12