summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/resolve/file.c')
-rw-r--r--source4/libcli/resolve/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/file.c b/source4/libcli/resolve/file.c
index 950815ddc48..c01b4629097 100644
--- a/source4/libcli/resolve/file.c
+++ b/source4/libcli/resolve/file.c
@@ -146,5 +146,5 @@ bool resolve_context_add_file_method(struct resolve_context *ctx, const char *lo
bool resolve_context_add_file_method_lp(struct resolve_context *ctx, struct loadparm_context *lp_ctx)
{
- return resolve_context_add_file_method(ctx, lp_parm_string(lp_ctx, NULL, "resolv", "host file"));
+ return resolve_context_add_file_method(ctx, lpcfg_parm_string(lp_ctx, NULL, "resolv", "host file"));
}