Call gettext() on parameters for warning()/warningx() instead of
having warning() do it for us.
This commit is contained in:
@@ -86,7 +86,7 @@ main(int argc, char *argv[], char *envp[])
|
||||
*cp = '-';
|
||||
}
|
||||
sudo_execve(cmnd, argv, envp, noexec);
|
||||
warning(N_("unable to execute %s"), argv[0]);
|
||||
warning(_("unable to execute %s"), argv[0]);
|
||||
sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, EXIT_FAILURE);
|
||||
_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user