Add missing const to linux_audit_command()'s argv function argument.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -19,6 +19,6 @@
|
||||
#ifndef SUDOERS_LINUX_AUDIT_H
|
||||
#define SUDOERS_LINUX_AUDIT_H
|
||||
|
||||
int linux_audit_command(char *argv[], int result);
|
||||
int linux_audit_command(char *const argv[], int result);
|
||||
|
||||
#endif /* SUDOERS_LINUX_AUDIT_H */
|
||||
|
Reference in New Issue
Block a user