]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/cpu-set-util: move the part to print cpu-set into a separate function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 19 May 2019 16:02:38 +0000 (18:02 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 21 May 2019 06:44:03 +0000 (08:44 +0200)
commita832893f9c4f0a0329768e90f67e2fa24bb0008e
treead711acaa70788b7a69827f134427bcf69c0e3dc
parentbd0abfaea1514bdd7cb60228d7a3f94c17ba916d
shared/cpu-set-util: move the part to print cpu-set into a separate function

Also avoid unnecessary asprintf() when we can write to the output area
directly.
src/core/dbus-execute.c
src/shared/cpu-set-util.c
src/shared/cpu-set-util.h
src/test/test-cpu-set-util.c