This commit is contained in:
Benjamin Peterson 2011-08-09 16:49:13 -05:00
parent 398256b230
commit a17a5d67b4

View file

@ -5072,7 +5072,7 @@ posix_sched_setaffinity(PyObject *self, PyObject *args)
pid_t pid;
Py_cpu_set *cpu_set;
if (!PyArg_ParseTuple(args, _Py_PARSE_PID "O!:schbed_setaffinity",
if (!PyArg_ParseTuple(args, _Py_PARSE_PID "O!:sched_setaffinity",
&pid, &cpu_set_type, &cpu_set))
return NULL;
if (sched_setaffinity(pid, cpu_set->size, cpu_set->set))