mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-04 22:57:21 +02:00
Update gamemode-context.c
fixed format to match the proper codingstyle
This commit is contained in:
parent
e2e8e981a2
commit
9e21ac3924
@ -226,12 +226,13 @@ static int game_mode_disable_splitlock(GameModeContext *self, bool disable)
|
||||
}
|
||||
|
||||
if (fgets(value_str, sizeof value_str, f) == NULL) {
|
||||
LOG_ERROR("Couldn't read from /proc/sys/kernel/split_lock_mitigate : %s\n", strerror(errno));
|
||||
LOG_ERROR("Couldn't read from /proc/sys/kernel/split_lock_mitigate : %s\n",
|
||||
strerror(errno));
|
||||
fclose(f);
|
||||
return 1;
|
||||
}
|
||||
|
||||
self->initial_split_lock_mitigate = strtol (value_str, NULL, 10);
|
||||
self->initial_split_lock_mitigate = strtol(value_str, NULL, 10);
|
||||
fclose(f);
|
||||
|
||||
value_num = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user