mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-05 12:56:49 +02:00
Correct the names and return 0 for success
This commit is contained in:
@@ -429,7 +429,7 @@ int game_mode_context_register(GameModeContext *self, pid_t client, pid_t reques
|
||||
/* Apply io priorities */
|
||||
game_mode_apply_ioprio(self, client);
|
||||
|
||||
return true;
|
||||
return 0;
|
||||
|
||||
error_cleanup:
|
||||
if (errno != 0)
|
||||
@@ -511,7 +511,7 @@ int game_mode_context_unregister(GameModeContext *self, pid_t client, pid_t requ
|
||||
game_mode_context_leave(self);
|
||||
}
|
||||
|
||||
return true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int game_mode_context_query_status(GameModeContext *self, pid_t client, pid_t requester)
|
||||
|
Reference in New Issue
Block a user