mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
typo
This commit is contained in:
parent
398256b230
commit
a17a5d67b4
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue