summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/mdso_unit_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/mdso_unit_ctx.c b/src/driver/mdso_unit_ctx.c
index 7181982..1ab77ff 100644
--- a/src/driver/mdso_unit_ctx.c
+++ b/src/driver/mdso_unit_ctx.c
@@ -190,9 +190,9 @@ int mdso_get_unit_ctx(
else
fclose(ftmp);
- if (mdso_map_input(fd,path,PROT_READ,&ctx->map))
+ if (mdso_map_input(dctx,fd,path,PROT_READ,&ctx->map))
return mdso_free_unit_ctx_impl(
- ctx,MDSO_SYSTEM_ERROR(dctx));
+ ctx,MDSO_NESTED_ERROR(dctx));
if (fd > 0)
close(fd);