Fix build when SUDOERS_NAME_MATCH is defined.

This commit is contained in:
Todd C. Miller
2023-02-21 13:47:27 -07:00
parent b52631e877
commit 8b9c1b962f

View File

@@ -736,7 +736,7 @@ static bool
command_matches_glob(const char *sudoers_cmnd, const char *sudoers_args,
int rootfd, bool intercepted, const struct command_digest_list *digests)
{
return command_matches_fnmatch(sudoers_cmnd, sudoers_args,
return command_matches_fnmatch(sudoers_cmnd, sudoers_args, rootfd,
intercepted, digests);
}