Quiet some harmless PVS Studio warnings.

This commit is contained in:
Todd C. Miller
2022-06-29 10:08:55 -06:00
parent 54ed54d94e
commit b6151781ce
8 changed files with 14 additions and 15 deletions

View File

@@ -361,7 +361,7 @@ intercept_connect(void)
debug_decl(intercept_connect, SUDO_DEBUG_EXEC);
if (intercept_port == 0) {
sudo_warnx(U_("intercept port not set"));
sudo_warnx("%s", U_("intercept port not set"));
goto done;
}