2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 08:45:28 +00:00

Fix some warnings from pvs-studio

This commit is contained in:
Todd C. Miller
2020-08-12 13:45:09 -06:00
parent fb8ed8ba66
commit 961a4afe67
45 changed files with 330 additions and 314 deletions

View File

@@ -195,7 +195,7 @@ sudo_aix_change_password(const char *user)
switch (child = sudo_debug_fork()) {
case -1:
/* error */
sudo_warn(U_("unable to fork"));
sudo_warn("%s", U_("unable to fork"));
break;
case 0:
/* child, run passwd(1) */