Skip to content

Commit 9c63ff0

Browse files
committed
Pass NULL, not false, to sudoers_format_default_line().
1 parent b7efb8a commit 9c63ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/sudoers/cvtsudoers_ldif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ print_global_defaults_ldif(FILE *fp,
204204
lbuf.len = 0;
205205
if (!sudo_lbuf_append(&lbuf, "# "))
206206
goto done;
207-
if (!sudoers_format_default_line(&lbuf, parse_tree, opt, false, true))
207+
if (!sudoers_format_default_line(&lbuf, parse_tree, opt, NULL, true))
208208
goto done;
209209
fprintf(fp, "# Unable to translate %s:%d:%d:\n%s\n",
210210
opt->file, opt->line, opt->column, lbuf.buf);

0 commit comments

Comments
 (0)