summaryrefslogtreecommitdiffstats
path: root/cmd-source-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r--cmd-source-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c
index b42c5785..247b06ec 100644
--- a/cmd-source-file.c
+++ b/cmd-source-file.c
@@ -90,7 +90,7 @@ cmd_source_file_exec(struct cmd *self, struct cmd_ctx *ctx)
struct cmd_source_file_data *data = self->data;
char *cause;
- if (load_cfg(data->path, &cause) != 0) {
+ if (load_cfg(data->path, ctx, &cause) != 0) {
ctx->error(ctx, "%s", cause);
xfree(cause);
return (-1);