Update gamemode-context.c

check format wined again, looks like I'm really bad at this
This commit is contained in:
Henrik Holst 2023-12-04 20:14:16 +01:00 committed by afayaz-feral
parent 22001c56b1
commit 41191dc607

View File

@ -227,7 +227,7 @@ 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));
strerror(errno));
fclose(f);
return 1;
}