cpufreqd supports using a different profile for each CPU in a given rule in the pseudo code form "profile=CPU%d:%s,cpu_num,profile;", but the config parser has the test for a profile string paired with a CPU number reversed such a valid profile string is rejected.
Steps to Reproduce:
Attempt to use a cpufreqd.conf with a rule containing something like: "profile=CPU0:On Demand High;CPU1:Powersave Low"
Parser rejects config file
Config should be accepted
Created attachment 307011 [details, diff]
Invert test for associated profile string