]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Maybe there is a little mistake in do_taskset() function in taskset.c.
authorcsbo98 <boliu98@foxmail.com>
Sun, 22 May 2022 06:47:13 +0000 (14:47 +0800)
committercsbo98 <boliu98@foxmail.com>
Sun, 22 May 2022 06:47:13 +0000 (14:47 +0800)
commit6ff67988785af818b97a7175c8ca80f2ee2d039f
treeaffc286f0419db13bf16722b9bc08df7c8f65109
parent634446308fd590b830040a1a5ed6f42ebcea2fc5
Maybe there is a little mistake in do_taskset() function in taskset.c.
In the first call of sched_getaffinity(), if the call is failed we should
use err_affinity(ts->pid, 0) other than err_affinity(ts->pid, 1).
schedutils/taskset.c