mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-03 20:06:46 +02:00
Correct log message
This commit is contained in:
@@ -60,7 +60,7 @@ int run_external_process(const char *const *exec_args)
|
|||||||
* http://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html
|
* http://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html
|
||||||
*/
|
*/
|
||||||
if ((r = execv(exec_args[0], (char *const *)exec_args)) != 0) {
|
if ((r = execv(exec_args[0], (char *const *)exec_args)) != 0) {
|
||||||
LOG_ERROR("Failed to execute external process: %s %s\n", exec_args[1], strerror(errno));
|
LOG_ERROR("Failed to execute external process: %s %s\n", exec_args[0], strerror(errno));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
_exit(EXIT_SUCCESS);
|
_exit(EXIT_SUCCESS);
|
||||||
|
Reference in New Issue
Block a user