Add missing const to linux_audit_command()'s argv function argument.

This commit is contained in:
Todd C. Miller
2020-06-03 20:22:25 -06:00
parent 73c1b04306
commit b40551dc32
2 changed files with 4 additions and 3 deletions

View File

@@ -63,10 +63,11 @@ linux_audit_open(void)
}
int
linux_audit_command(char *argv[], int result)
linux_audit_command(char *const argv[], int result)
{
int au_fd, rc = -1;
char *command, *cp, **av;
char *command, *cp;
char * const *av;
size_t size, n;
debug_decl(linux_audit_command, SUDOERS_DEBUG_AUDIT);