mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 15:47:20 +02:00
fixed more coding style errors
This commit is contained in:
parent
81dc3f95e5
commit
173a8594b4
@ -91,7 +91,8 @@ static int set_state(char *cpulist, int state)
|
|||||||
/* on some systems one cannot park core #0 */
|
/* on some systems one cannot park core #0 */
|
||||||
if (cpu != 0) {
|
if (cpu != 0) {
|
||||||
if (state == '0') {
|
if (state == '0') {
|
||||||
LOG_ERROR("unable to park core #%ld, will not apply cpu core parking!\n", cpu);
|
LOG_ERROR("unable to park core #%ld, will not apply cpu core parking!\n",
|
||||||
|
cpu);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,7 +105,7 @@ static int set_state(char *cpulist, int state)
|
|||||||
} else if (last + 1 == cpu) {
|
} else if (last + 1 == cpu) {
|
||||||
last = cpu;
|
last = cpu;
|
||||||
} else {
|
} else {
|
||||||
log_state (state, first, last);
|
log_state(state, first, last);
|
||||||
first = cpu;
|
first = cpu;
|
||||||
last = cpu;
|
last = cpu;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user