Failing to set new frequency should not lead to powerd exiting.
Change err(3) to warn(3) as three other cases. Approved by: njl, des
This commit is contained in:
parent
22dcc3c17b
commit
89a630d080
@ -603,7 +603,7 @@ main(int argc, char * argv[])
|
||||
cpu_running_mark, curfreq, freqs[i]);
|
||||
}
|
||||
if (set_freq(freqs[i]))
|
||||
err(1, "error setting CPU frequency %d",
|
||||
warn("error setting CPU frequency %d",
|
||||
freqs[i]);
|
||||
} else if (idle > (total * cpu_idle_mark) / 100 &&
|
||||
curfreq > freqs[numfreqs - 1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user