]> git.ipfire.org Git - thirdparty/util-linux.git/commit
taskset: don't use zero PID in messages
authorKarel Zak <kzak@redhat.com>
Fri, 10 Feb 2017 10:46:37 +0000 (11:46 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 10 Feb 2017 10:46:37 +0000 (11:46 +0100)
commit6433fcad71fc0ab46a99cba3281c5461d0f05391
tree9757ac040a0cc8ea3d365b37feecc935d05bc768
parent6153d2977d31f8b3710599f2e564a5e016dab355
taskset: don't use zero PID in messages

The pid 0 is technically correct, but very confusing for end users. Use
getpid() in the messages.

Addresses: https://github.com/karelzak/util-linux/issues/413
Signed-off-by: Karel Zak <kzak@redhat.com>
schedutils/taskset.c