]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/cpu-set-util: only force range printing one time 12628/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 29 May 2019 08:17:43 +0000 (10:17 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 29 May 2019 15:02:24 +0000 (17:02 +0200)
commit1f57a176af5152d05719bf43740e87a47e37af50
tree1955788da6982fbdf205654c138d63b669127730
parenta047f4f10ed2f922d6079c033d24a443b0e95f38
shared/cpu-set-util: only force range printing one time

The idea is to have at least one range to make the new format clearly
distinguishable from the old. But it is enough to just do it once.
In particular, in case the affinity would be specified like 0, 2, 4, 6…,
this gives much shorter output.
src/shared/cpu-set-util.c
src/test/test-cpu-set-util.c