summaryrefslogtreecommitdiff
path: root/plugins/sudoers/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/file.c')
-rw-r--r--plugins/sudoers/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sudoers/file.c b/plugins/sudoers/file.c
index cbb1f4f2a..1d9a2eb8c 100644
--- a/plugins/sudoers/file.c
+++ b/plugins/sudoers/file.c
@@ -73,7 +73,7 @@ sudo_file_open(struct sudo_nss *nss)
handle = malloc(sizeof(*handle));
if (handle != NULL) {
- handle->fp = open_sudoers(sudoers_file, &outfile, false, NULL);
+ handle->fp = open_sudoers(policy_path_sudoers(), &outfile, false, NULL);
if (handle->fp != NULL) {
init_parse_tree(&handle->parse_tree, NULL, NULL, nss);
if (outfile != NULL) {