]> git.ipfire.org Git - thirdparty/systemd.git/commit
cpu-set-util: make cpu_set_to_mask_string() work with an empty cpu set
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 20 Jun 2025 05:30:32 +0000 (14:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 23 Jun 2025 15:20:20 +0000 (00:20 +0900)
commitdf04987af2380b7df7d0ae1e03709eac3ce4be4a
tree98d944c5c958a055e8f0585a535f9e4d942e8b5e
parent0dc39dffbd4525e79d7a1537b5c95780ba4f9727
cpu-set-util: make cpu_set_to_mask_string() work with an empty cpu set

This also make it use strextendf_with_separator() and SET_BIT().

Fixes CID#1611618.
src/shared/cpu-set-util.c