]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
util: Declare a cleanup routine for a cpu_set_t
authorFilipe Brandenburger <filbranden@google.com>
Mon, 31 Aug 2015 03:46:27 +0000 (20:46 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Tue, 1 Sep 2015 00:15:56 +0000 (17:15 -0700)
commit4b40bc38b495bb0c986e7accf5897b164ccfee4d
tree081ad5ca971ce4b49f8d86e75e70ad3c319b5a97
parent4457c2279e032832bccd6ec0895105e3d6e192cc
util: Declare a cleanup routine for a cpu_set_t

Make use of it in config_parse_cpu_affinity2.

Tested by tweaking the `CPUAffinity' setting in /etc/systemd/system.conf
and reloading the daemon to confirm it is working as expected.

No regressions observed in test cases.
src/basic/util.h
src/core/main.c